Page 1 of 1

how to fetch SDP file from the client??

Posted: 04 Aug 2004 12:36
by Teiki
I want to send some streams from the server and get the sdp file at the client.
I have some questions:
1) does VLC create SDP file when it sends the stream? If yes, what's the name of that SDP file and where can I find it?

2)How can I receive it at the client?

The following are some command:
on the server:
vlc input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=http://server:8080/test.sdp}'

on the client:
vlc http://server:8080/test.sdp

I get confused about the server address(sdp = http://server:8080/test.sdp), is it the localhost address? and the name test.sdp?

ok, please help me with those questions.
thank you!
pp

Posted: 04 Aug 2004 15:52
by Anil
VLC does create the SDP file and serves it using its own HTTP server

so in the following commands

vlc input_stream --sout '#rtp{dst=192.168.0.12,port=1234,sdp=http://server:8080/test.sdp}'
and vlc http://server:8080/test.sdp

server is the DNS of the computer that is streaming the file

hope this helps,

Posted: 05 Aug 2004 11:18
by Guest
hi, Anil, thanks for your answer.

If the vlc doesn't generate the sdp, then should I write it manually? And how to?
Does anybody tries it?

Posted: 05 Aug 2004 11:29
by Guest
VLC does create the SDP file and serves it using its own HTTP server


so what's the name of that SDP file, and where can I find it in order to retrieve it on the client?

server is the DNS of the computer that is streaming the file


I tried with the DNS, but no way...log as following:

v41 input error: cannot open device(no such file or directory)
main input error: no suitable access module for "/://http://192.145.197.255/filename.sdp"


...