[Libav-user] RTP streaming input and output setting local port fails socket bind

Leonardo Nahra leonardonahra at gmail.com
Fri Jul 8 17:59:15 CEST 2016


Hello,

How can I use the same local port for input and output of RTP streams and
avoid the UDP error below?

[udp @ 0e5efd00] bind failed: Error number -10048 occurred

I have one AVFormatContext for output and one for intput, my guess is that
each AVFormatContext creates its own socket and binds to the same port.

I think the correct way is to use the same AVFormatContext for both input
and output, but doing that crashes the application without giving a hint of
what the error is.

Thanks,
Nahra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160708/0f933419/attachment.html>


More information about the Libav-user mailing list