summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtspsrc.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/gstrtspsrc.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/gstrtspsrc.h')
-rw-r--r--gst/rtsp/gstrtspsrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h
index e0b32e9f..81256a9e 100644
--- a/gst/rtsp/gstrtspsrc.h
+++ b/gst/rtsp/gstrtspsrc.h
@@ -90,6 +90,7 @@ struct _GstRTSPStream {
GstFlowReturn last_ret;
gboolean added;
gboolean disabled;
+ gboolean eos;
/* for interleaved mode */
guint8 channel[2];
@@ -152,6 +153,7 @@ struct _GstRTSPSrc {
guint64 udp_timeout;
GTimeVal tcp_timeout;
guint latency;
+ guint connection_speed;
/* state */
GstRTSPState state;