[streaming] Re: RTP over RTSP with vlc 0.8.1

Torben Knerr ukio at gmx.de
Sat Jun 18 10:36:08 CEST 2005


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.
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...

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.
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.

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?

any help would be appreciated!

>
> Kind greetings,
> Jean-Paul Saman.
>
best regards,
torben

-- 
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