Dynamic Jitter Buffer Resizing for VoIP Latency and Quality
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current jitter buffer management in VoIP and IVR systems is inefficient as it uses a single buffer size for all media streams, leading to unnecessary delays and resource wastage, particularly when handling DTMF inputs, and fails to balance latency and voice quality effectively, especially in systems that require different buffer sizes for voice and TTY signals.
Innovation Solution
Dynamic jitter buffer resizing based on the user's location within the TUI menu structure and the type of anticipated input, allowing for software-controlled adjustment between different buffer sizes appropriate for voice, DTMF, and TTY inputs, and toggling between these sizes based on the selected announcement set.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a single large jitter buffer size is used for all media streams, then voice quality is improved by accommodating TTY signals, but system response time deteriorates due to unnecessary delays for DTMF inputs
Solution Approach 1:
The jitter buffer size is made dynamic rather than static, allowing it to change based on the current media stream type. The system automatically adjusts the buffer size between a first size for voice/TTY streams and a second size for DTMF streams, optimizing both voice quality and response time for different input types
Solution Approach 2:
Different buffer sizes are applied to different media stream types based on their specific requirements. Voice and TTY streams receive a larger buffer for quality, while DTMF streams receive a smaller buffer for speed, ensuring each stream type gets the appropriate local optimization
2Reliability
If a single large jitter buffer size is used for all media streams, then packet loss for TTY signals is reduced, but system resources are wasted on unnecessary buffering for DTMF inputs
Solution Approach 1:
The jitter buffer size is dynamically adjusted based on the media stream type. When a DTMF stream is detected, the buffer size is reduced to a second size, conserving system resources while maintaining adequate performance. When voice or TTY streams are detected, the buffer size increases to a first size to ensure reliable delivery and minimize packet loss
3Speed
If a small jitter buffer size is used for DTMF inputs, then system response time is improved, but voice quality deteriorates due to insufficient buffering for TTY signals
Solution Approach 1:
The system dynamically switches between a first jitter buffer size for voice/TTY streams and a second jitter buffer size for DTMF streams. This dynamic adjustment ensures that DTMF inputs benefit from smaller buffer sizes and faster response times, while voice and TTY streams benefit from larger buffer sizes that maintain quality
Solution Approach 2:
The jitter buffer is optimized locally for each media stream type based on its specific requirements. DTMF streams are assigned a smaller buffer size appropriate for their speed-critical nature, while voice and TTY streams are assigned a larger buffer size appropriate for their quality-critical nature
Data Source
AI summary
Buffering is made more efficient by resizing a jitter buffer based, for example, on a user's location within a TUI. To illustrate how this might be implemented in a TUI-based system, assume that two jitter buffer sizes are available: a larger one for voice and a smaller one for DTMF. Assume that the ability to select the buffer size is software-controllable. By virtue of the TUI structure, the initial state for a communication session could be a buffer size appropriate for DTMF. Since the messaging system may provide an audible beep whenever it's appropriate for a user to speak, the same sub-routine within the TUI code that triggers the beep could also command the buffer management mechanism instructing it to size the buffer for voice. Any subsequent DTMF entry or other event indicating that voice input has been terminated could cause the buffer to resize appropriately for DTMF.


