Adjust audio capture buffer size to match ptime parameters on the RTP session
Submitted by Mikhail Zabaluev
Assigned to Olivier Crête @ocrete
Description
When e.g. an SDP session restricts audio packet sizes with ptime and maxptime attributes, Farsight propagates these restrictions to RTP payloader, but does nothing to the audio sink settings. This may result in audio buffers being unevenly sized with regard to outbound RTP packets, resulting in odd size variations and syncopated timing on sent packets.