<div dir="ltr">Hello,<div><br></div><div>How can I use the same local port for input and output of RTP streams and avoid the UDP error below?<br></div><div><br></div><div>[udp @ 0e5efd00] bind failed: Error number -10048 occurred</div><div><br></div><div><div>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.</div></div><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>Nahra</div></div>