[vlc-devel] Re: Unicast RTP/RTCP - SDP RTP/AVP 33

Derk-Jan Hartman hartman at videolan.org
Thu Apr 6 19:51:12 CEST 2006


On 6-apr-2006, at 17:51, Florian Lohoff wrote:
> Hi,
> i wrote a little streaming server myself which is capable of doing
> UDP or UDP/RTP Unicast/Multicast. Now as we have some Multicast
> difficulties concerning bandwidth i tried to go the path of sending
> SAP/SDP multicast and the datastream unicast via RTP/RTCP. I am
> streaming MPEG2-TS directly from an DVB source.

Did you read the RFCs ?

> The problem now is that VLC seems to be unable to accept the SDP  
> packet.
> My first guess from looking at the source seems to be that VLC is not
> capable of doing RTP/RTCP for RTP/AVP 33.

It was built for it.

> This is a SAP packet i am sending out:
> sap_send: Sent SAP pkt
> 0000 20 00 6d d2 e0 02 7f fe 76 3d 30 0d 0a 73 3d  
> 50     .m.....v=0..s=P
> 0010 68 6f 65 6e 69 78 0d 0a 74 3d 30 20 30 0d 0a 61    hoenix..t=0  
> 0..a
> 0020 3d 74 6f 6f 6c 3a 67 65 74 73 74 72 65 61 6d 0d     
> =tool:getstream.
> 0030 0a 61 3d 74 79 70 65 3a 62 72 6f 61 64 63 61  
> 73    .a=type:broadcas
> 0040 74 0d 0a 6f 3d 2d 20 36 64 64 32 20 31 31 34 34    t..o=- 6dd2  
> 1144
> 0050 33 33 31 31 38 39 20 49 4e 20 49 50 34 20 73 74    331189 IN  
> IP4 st
> 0060 72 65 61 6d 32 0d 0a 6d 3d 76 69 64 65 6f 20 33     
> ream2..m=video 3
> 0070 30 30 30 20 52 54 50 2f 41 56 50 20 33 33 0d 0a    000 RTP/AVP  
> 33..
> 0080 63 3d 49 4e 20 49 50 34 20 73 74 72 65 61 6d 32    c=IN IP4  
> stream2
> 0090 2f 31 35 0d 0a                                     /15..
>
> It shows up in the VLC Playlist - Double clicking leads to:


VLC assumes that any SAP originated SDP announce of a MPEG-TS stream  
is multicast, yes.
it being unicast is also very uncommon.

Use --no-sap-preparse (or something) to avoid this behaviour.

>
> Flo
> -- 
> Florian Lohoff                  flo at rfc822.org              
> +49-171-2280134
>                         Heisenberg may have been here.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list