Page 1 of 1

RTP straming and test.sdp

Posted: 22 Sep 2004 09:40
by John Q
Hello,

according to chapter 9 of the vcl howto (RTP streaming section):

in order to stream in RTP we should run:
on the server:
% vlc -vvv input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=http://server.example.org:8080/test.sdp}'

on the client(s), run:
% vlc http://server.example.org:8080/test.sdp

my question is regarding this test.sdp:
suppose my input stream is MPEG2 or MPEG4.
Is ""test.sdp" it a file that I have to generate before running theses commands
and put it in DocumentRoot of the http serever?
If so - how to prepare such a test.sdp
or is it supposed to be generated by running the first (server) command
(I did not find such file generated , but maybe I did something incorrect)

regards
John

Posted: 22 Sep 2004 10:31
by AndreasB
sdp=http://server.example.org:8080/test.sdp means that VLC will start a HTTP server on port 8080, serving the test.sdp file.

So yes, it is autogenerated.

http server

Posted: 22 Sep 2004 13:06
by John Q
Hello,
First thanks;
second - I am a reallt newbie to these issues;
regarding the http server:
you said: "will start a HTTP server ".
does it start http server of vlc on that port ? (I mean http server which is part of the vlc
application).
or should I run apache (for example) http server on that port before?

regards,
John

Posted: 22 Sep 2004 13:08
by AndreasB
VLC will start a builtin web server yes, so you will not need to do anything.

RTP command

Posted: 15 Oct 2004 07:01
by jbolivar
One question, because in the RTP command is used dst=192.168.0.12,port=1234?

Thanks and Regards