[streaming] Re: RTP over RTSP with vlc 0.8.1
Jean-Paul Saman
jean-paul.saman at planet.nl
Sat Jun 18 11:39:25 CEST 2005
Torben Knerr wrote:
> Dear Jean-Paul,
>
>
> Jean-Paul Saman wrote:
>
>> Torben Knerr wrote:
>>
>>> in version 0.8.2 beta2 i found the option to stream RTP over RTSP (TCP)
>>> in the preferences ui. is this already possible with vlc 0.8.1
>>> through a
>>> commandline option?
>>
>>
>>
>> There is no such thing as streaming RTP voer RTSP. RTSP is a VOD
>> protocol for controlling the streaming server, while RTP is a
>> streaming protocol designed to deliver the audio video data to the
>> client.
>
>
> i know it is possible to stream rtp over tcp (instead of udp), which
> is called rtp over rtsp afaik.
You are wrong rtp != rtsp. Both protocols can use TCP as transport
protocol however.
> it's mostly useful for clients behind a firewall, where udp traffic is
> blocked, so they access the
> stream via tcp.
> i found the commandline switch --rtsp-tcp, but i think won't work,
> because
> afaik --rtsp-tcp is used to tell vlc how it should receive a stream,
> and not how
> it should send out a rtp stream...
You are correct here. What you are looking for is using --rtp-tcp aka
RTP over TCP.
> my commandine looks like this now:
> vlc -v "E:\movie.mpg" --aspect-ratio="1.2222222" --rtsp-tcp
> --sout="#transcode{vcodec=mp4v,vb=60,width=240,height=196,fps=10,acodec=mp4a,ab=20,channels=1,samplerate=22050}:rtp{dst=127.0.0.1,ttl=255,port-video=20000,port-audio=20002,sdp='file://C:/Program
> Files/Darwin Streaming Server/Movies/vlc.sdp'}" vlc:quit
>
> what i'm doing here is to send a transcoded file as an rtp stream to
> darwin streaming server,
> which relays it to a client.
> i monitored the rtp packets on the local loopback (because i'm sending
> rtp packets to darwin,
> which resides on the same host), and i see that the rtp packets are
> sent over udp.
You keep mixing up RTP and RTSP which are not the same.
> the --rtsp-tcp switch (assuming it is in the right place (see
> commandline above)) does not affect
> this behaviour, packets are still sent over udp.
This is because it only influences the behaviour of the RTSP protocol
and not the RTP one.
> so my question is: is there a way to stream rtp over rtsp (tcp) with vlc?
> or is it a matter of configuring darwin streaming server to encapsulate
> the (relaying) rtp stream in rtsp/tcp packets?
You are looking for rtp/tcp combination, which is not implemented in
VLC. We welcome any patches implementing this !
Greetings,
Jean-Paul Saman.
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list