By studying WebRTC sources I was wondering why developers chose max RTP packet size as 1200 bytes. It's defined in media/engine/constants.cc, as kVideoMtu variable.
Thanks.
By studying WebRTC sources I was wondering why developers chose max RTP packet size as 1200 bytes. It's defined in media/engine/constants.cc, as kVideoMtu variable.
Thanks.
This is an arbitrarily selected value to avoid packet fragmentation. There is no any exact science behind this as you can be never sure on the actual limits, however 1200 byte is a safe value for all kind of networks on the public internet (including something like a double VPN connection over PPPoE) and for RTP there is no much reason to choose a bigger value.