[FFmpeg-devel] [PATCH] avformat/rtpproto: add support for RTP/UDP socket reuse

Rémi Denis-Courmont remi at remlab.net
Sat Dec 24 13:36:39 EET 2022


	Hello,

Le jeudi 22 décembre 2022, 17:42:09 EET Camille Oudot a écrit :
> Re-submitting because google webmail did not set the correct mime type,
> sorry for the noise.

I don't see why you need an option for this. In parsing the SDP, it should be 
self-evident if a given socket needs to be reused for RTCP-mux or for SDP 
BUNDLE.

Also, there are no ways that the REUSEADDR socket option would be able to 
handle either of those protocol extensions. You need to use the same socket 
and demultiplex in user-space *after* the recv() socket call (or equivalent).

(Or then you need to use REUSEPORT and BPF, but that will only work on Linux, 
and that's not implemented in the patch.)

-- 
Rémi Denis-Courmont




More information about the ffmpeg-devel mailing list