From 41f0496738f42b64868500ebb4be4053a1500f91 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 16 Aug 2007 11:47:19 +0000 Subject: 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. --- gst/rtsp/gstrtpdec.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gst/rtsp/gstrtpdec.h') 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); -- cgit