summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/gstrtpbin.h
diff options
context:
space:
mode:
authorHåvard Graff <havard.graff@tandberg.com>2008-10-07 18:54:41 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-10-07 18:54:41 +0000
commitb398d611a459a674d6d7f097350ce47fe7e721d1 (patch)
treebf68f94de59ae16d02d9c0d1e28341586a22f80c /gst/rtpmanager/gstrtpbin.h
parentae65d3945bd52f49fcf03b404f24555650b2b402 (diff)
downloadgst-plugins-bad-b398d611a459a674d6d7f097350ce47fe7e721d1.tar.gz
gst-plugins-bad-b398d611a459a674d6d7f097350ce47fe7e721d1.tar.bz2
gst-plugins-bad-b398d611a459a674d6d7f097350ce47fe7e721d1.zip
gst/rtpmanager/gstrtpbin-marshal.list: Add marshaller for new action signal.
Original commit message from CVS: Patch by: Håvard Graff <havard dot graff at tandberg dot com> * gst/rtpmanager/gstrtpbin-marshal.list: Add marshaller for new action signal. * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_get_internal_session), (gst_rtp_bin_class_init): * gst/rtpmanager/gstrtpbin.h: Add action signal to retrieve the internal RTPSession object. * gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_class_init), (gst_rtp_session_get_property), (gst_rtp_session_release_pad): Add property to access the internal RTPSession object. * gst/rtpmanager/rtpsession.c: (rtp_session_class_init), (check_collision): * gst/rtpmanager/rtpsession.h: Add action signal to retrieve an RTPSource object by SSRC. See #555396.
Diffstat (limited to 'gst/rtpmanager/gstrtpbin.h')
-rw-r--r--gst/rtpmanager/gstrtpbin.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gst/rtpmanager/gstrtpbin.h b/gst/rtpmanager/gstrtpbin.h
index 7ef605d1..71235fda 100644
--- a/gst/rtpmanager/gstrtpbin.h
+++ b/gst/rtpmanager/gstrtpbin.h
@@ -22,6 +22,8 @@
#include <gst/gst.h>
+#include "rtpsession.h"
+
#define GST_TYPE_RTP_BIN \
(gst_rtp_bin_get_type())
#define GST_RTP_BIN(obj) \
@@ -63,9 +65,13 @@ struct _GstRtpBinClass {
GstBinClass parent_class;
/* get the caps for pt */
- GstCaps* (*request_pt_map) (GstRtpBin *rtpbin, guint session, guint pt);
- void (*clear_pt_map) (GstRtpBin *rtpbin);
+ GstCaps* (*request_pt_map) (GstRtpBin *rtpbin, guint session, guint pt);
+
+ /* action signals */
+ void (*clear_pt_map) (GstRtpBin *rtpbin);
+ RTPSession* (*get_internal_session) (GstRtpBin *rtpbin, guint session_id);
+ /* session manager signals */
void (*on_new_ssrc) (GstRtpBin *rtpbin, guint session, guint32 ssrc);
void (*on_ssrc_collision) (GstRtpBin *rtpbin, guint session, guint32 ssrc);
void (*on_ssrc_validated) (GstRtpBin *rtpbin, guint session, guint32 ssrc);