SDP file for client

Topics: Question
Sep 22, 2015 at 7:19 AM
Edited Sep 22, 2015 at 7:20 AM
I have a IP camera provide a rtsp Stream but i need a SDP file to get the Stream on vlc. I have a working client in c# with the MMA Library but i don't know if i can get the Stream with the client from the local SDP file. Some help please ?
Thanks by advance

Edit : my working client use "rtsp://" address but i don't if i can do with the sdp file.
Sep 22, 2015 at 4:14 PM
If you can provide an example of the SDP I can more accurately advise.

I know you can create a RTP stream using the RtpSource from only a SDP, I imagine it would also be possible to extract a control uri from a SDP and determine if there was a 'rtsp' scheme present and if so then create a RtspClient.

Such a method could be static and possibly even added to the RtspClient via an extension method or if popular enough via the Constructor.
Marked as answer by juliusfriedman on 9/22/2015 at 8:14 AM
Sep 23, 2015 at 2:29 AM
This is the content of my sdp file.
m=video 59338 RTP/AVP 96
c=IN IP4
a=rtpmap:96 H264/80000
a=fmtp:96 packetization-mode=1;profile-level-id=000042;sprop-parameter-sets=Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBE/LgKpAAADAAEAAAMAPGBAAB6EgAACJVFve+F4RCNQAAAAAQ==,aO48sA==

I think it's not very complicated, because the Library support this, i just don't find a way to do..
Thanks for your help and for your amazing Library, by the way !