Skip to content
Snippets Groups Projects
Commit 2cf94485 authored by lemonlinger@gmail.com's avatar lemonlinger@gmail.com Committed by Michael Niedermayer
Browse files

avformat/rtpproto: when local rtp port and local rtcp port are not specified,...

avformat/rtpproto: when local rtp port and local rtcp port are not specified, try to make two successive ports and retry 3 times when failed

some video players on Android will not send udp hole punching messages if the rtcp port and rtp port are not two successive integers.
So, if the video player is behind NAT, it could not receive and rtp messages via udp

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 08a89761
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment