[Libav-user] Rtsp server

icollado icollado at dit.upm.es
Thu Feb 15 20:03:14 EET 2018

I'm trying to implement a RTSP server with ffmpeg. In order to do  
that,  I'm using libavformat and on the client side it works. I stream 
with VLC/rtsp and with my client implementation, i can capture it 

But when I try to implement the server side - where I am using 
libavformat too  (av_write_header, av_write_frame ... ) -, if  I set 
rtsp protocol in av_write_header, it breaks because It cannot stabilise 
a tcp connection.

How could I make that the rtsp server await listening for a client 

More information about the Libav-user mailing list