twilio / twilio-voice-ios

Programmable Voice SDK by Twilio
https://www.twilio.com/voice
38 stars 14 forks source link

SDK Jitter Default Settings #126

Open benford-servicem8 opened 2 months ago

benford-servicem8 commented 2 months ago

Now that the Twilio SDK supports setting audioJitterBufferMaxPackets and audioJitterBufferMinDelayMs, is there any guidance from Twilio regarding good defaults for devices in the field (eg 4G/5G connections) ?

dipankadas commented 2 months ago

@benford-servicem8 If no Audio Option is provided, then the default option is used. The default usesaudioJitterBufferMaxPackets size of 50 and audioJitterBufferMinDelayMs of 0 milliseconds. Unless the users are seeing network issues the default values should be fine. For poor network, Jitter buffer size can be increased to 200 or more. We don't recommend increasing audioJitterBufferMinDelayMs without running some experiments in a poor network condition.

benford-servicem8 commented 1 month ago

Thanks @dipankadas , are you able to confirm if the TwilioSDK would take advantage of the underlying support WebRTC has for Dynamic jitter buffering?