From a7d7309e18dca433661058e54651c2d1b78edc6a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 19 Sep 2006 17:25:15 +0000 Subject: gst/rtsp/gstrtspsrc.*: Reorganize stream parsing and creation. Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (find_stream_by_pt), (gst_rtspsrc_create_stream), (gst_rtspsrc_free_stream), (gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_setup_rtp), (gst_rtspsrc_stream_configure_transport), (find_stream_by_channel), (gst_rtspsrc_push_event), (gst_rtspsrc_loop), (gst_rtspsrc_send), (gst_rtspsrc_parse_methods), (gst_rtspsrc_open), (gst_rtspsrc_parse_rtpinfo), (gst_rtspsrc_play): * gst/rtsp/gstrtspsrc.h: Reorganize stream parsing and creation. Detect container formats in interleaved mode. Keep more state about the streams. Assume a server also supports PLAY if it does not say. Add unicast and interleaved properties to TCP transport requests to make some servers happy (WMServer). * gst/rtsp/sdpmessage.h: Add some defines for the standard Bandwidth types. --- gst/rtsp/sdpmessage.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/rtsp/sdpmessage.h') diff --git a/gst/rtsp/sdpmessage.h b/gst/rtsp/sdpmessage.h index 22c5b1d3..6360138f 100644 --- a/gst/rtsp/sdpmessage.h +++ b/gst/rtsp/sdpmessage.h @@ -43,6 +43,10 @@ typedef struct { gint addr_number; } SDPConnection; +#define SDP_BWTYPE_CT "CT" /* conference total */ +#define SDP_BWTYPE_AS "AS" /* application specific */ +#define SDP_BWTYPE_EXT_PREFIX "X-" /* extension prefix */ + typedef struct { gchar *bwtype; gint bandwidth; -- cgit