[farsight2/master] Add implementation of fs_rtp_stream_new

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:18:57 PST 2008


---
 gst/fsrtpconference/fs-rtp-stream.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index e96a34e..31ce710 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -321,3 +321,18 @@ fs_rtp_stream_set_remote_codecs (FsStream *stream,
 {
   return FALSE;
 }
+
+
+FsRtpStream *
+fs_rtp_stream_new (FsRtpSession *session,
+                   FsRtpParticipant *participant,
+                   FsStreamDirection direction,
+                   FsStreamTransmitter *transmitter)
+{
+  return g_object_new (FS_TYPE_RTP_STREAM,
+                       "session", session,
+                       "participant", participant,
+                       "direction", direction,
+                       "transmitter", transmitter,
+                       NULL);
+}
-- 
1.5.6.5




More information about the farsight-commits mailing list