Page 1 of 1

LibVlc RTSP streaming questions

Posted: 11 Dec 2017 18:10
by mbullock976
Hi

I'm looking to implement an RTSP server using an SDK due to commercial license cost issues.

I have a server decodes a live IP Camera, performs some face detection using the frame image, then publishes a live transcoded to h264/mp4 encoded RTP stream via a SDP file. I am using ffmpeg libraries to achieve this. I am able to play the sdp file in VLC player.

I am also able to play this through a VLC player configured as RTSP Server and have other VLC player instances play this back as RTSP sessions.

I would like to do the same but use libVLC to implement the RTSP server, where it too can stream my SDP file (described above) as an incoming streaming source and output this as a RTSP stream.

Is it someone could advise me how to do this please? I am a c# developer and am very new to 'c' code but can read it better than I can write it.

I've also come across dotnet.VLC (c# wrapper) which is still active and supports the latest version.

Can you also tell me if libvlc can support implementing an RTSP server that can relay many streams at the same time - this is a requirement of mime?

I have spoken to a developer recently who is using version 3.0.0 of VLC and has tried to stream an mp4 file (calling it 7 times at the same time) and it keeps stopping for him

Is there a bug or is streaming no longer supported much ? will next version of VLC improve the streaming?

Thanks

Re: LibVlc RTSP streaming questions

Posted: 12 Dec 2017 00:45
by Jean-Baptiste Kempf
If it works in VLC, you can use it in libVLC. VLC is just a wrapper around libVLC.