[Libav-user] How to create RTSP server ?

wolverin wolverin82 at mail.ru
Sat Sep 10 08:36:27 EEST 2022

I found how to listen and read the incoming connection to which I am sending data using av_dict_set(&options, "rtsp_flags", "listen", 0) and avformat_open_input(&format_context, url, NULL, &options)
And I already knew how to write data to this connection using avformat_alloc_output_context2(&pFmtCtxOut, NULL, "rtsp", rtsp_url) and av_interleaved_write_frame.
But how do I create a listening connection for rtsp clients???
Maybe I should also use a function avformat_alloc_output_context2 with a rtsp_flags listen?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220910/d350a2c2/attachment.htm>

More information about the Libav-user mailing list