how to fetch SDP file from the client??

About encoding, codec settings, muxers and filter usage
Teiki
New Cone
New Cone
Posts: 3
Joined: 02 Aug 2004 16:06

how to fetch SDP file from the client??

Postby Teiki » 04 Aug 2004 12:36

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

Anil
Blank Cone
Blank Cone
Posts: 32
Joined: 21 Nov 2003 12:09
Location: Ecole Centrale Paris, France

Postby Anil » 04 Aug 2004 15:52

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,
Anil Daoud

Guest

Postby Guest » 05 Aug 2004 11:18

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?

Guest

Postby Guest » 05 Aug 2004 11:29

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"


...


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests