summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtpdec.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-08-16 11:47:19 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-08-16 11:47:19 +0000
commit41f0496738f42b64868500ebb4be4053a1500f91 (patch)
treed86f0f115777591a057e7662b74da690067e0a3d /gst/rtsp/gstrtpdec.h
parenta490cffe5f2de3bac5fa836a1238c6980ef022c7 (diff)
gst/rtsp/gstrtpdec.*: Add (dummy) SSRC management signals.
Original commit message from CVS: * gst/rtsp/gstrtpdec.c: (gst_rtp_dec_marshal_VOID__UINT_UINT), (gst_rtp_dec_class_init): * gst/rtsp/gstrtpdec.h: Add (dummy) SSRC management signals. * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init), (gst_rtspsrc_set_property), (gst_rtspsrc_get_property), (find_stream), (gst_rtspsrc_create_stream), (new_session_pad), (request_pt_map), (gst_rtspsrc_do_stream_eos), (on_bye_ssrc), (on_timeout), (gst_rtspsrc_stream_configure_manager), (gst_rtspsrc_stream_push_event), (gst_rtspsrc_push_event), (gst_rtspsrc_loop_interleaved), (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_handle_message), (gst_rtspsrc_change_state): * gst/rtsp/gstrtspsrc.h: Add connection-speed property. Add find_stream helper functions. Handle stream EOS based on BYE messages or SSRC timeout. Returns SUCCESS from the state change function as we hide our async elements from the parent.
Diffstat (limited to 'gst/rtsp/gstrtpdec.h')
-rw-r--r--gst/rtsp/gstrtpdec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtpdec.h b/gst/rtsp/gstrtpdec.h
index 03260b41..08128f48 100644
--- a/gst/rtsp/gstrtpdec.h
+++ b/gst/rtsp/gstrtpdec.h
@@ -72,6 +72,13 @@ struct _GstRTPDecClass {
GstCaps* (*request_pt_map) (GstRTPDec *rtpdec, guint session, guint pt);
void (*clear_pt_map) (GstRTPDec *rtpdec);
+
+ void (*on_new_ssrc) (GstRTPDec *rtpdec, guint session, guint32 ssrc);
+ void (*on_ssrc_collision) (GstRTPDec *rtpdec, guint session, guint32 ssrc);
+ void (*on_ssrc_validated) (GstRTPDec *rtpdec, guint session, guint32 ssrc);
+ void (*on_bye_ssrc) (GstRTPDec *rtpdec, guint session, guint32 ssrc);
+ void (*on_bye_timeout) (GstRTPDec *rtpdec, guint session, guint32 ssrc);
+ void (*on_timeout) (GstRTPDec *rtpdec, guint session, guint32 ssrc);
};
GType gst_rtp_dec_get_type(void);