Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to GIT-18-3330764

...

Jitterbuffers are constructed in two different ways. The first always take three four arguments: max_size, resync_threshold, and target_extra, and sync_video. Alternatively, a single argument of default can be provided, which will construct the default jitterbuffer for the given jitterbuffer type.

...

target_extra: This option only affects the adaptive jitterbuffer. It represents the amount time in milliseconds by which the new jitter buffer will pad its size. Defaults to 40ms.

sync_video: This option enables video synchronization with the audio stream. It can be turned on and off. Defaults to off.

Code Block
titleExample: Fixed with defaults
linenumberstrue
languagetext
exten => 1,1,Set(JITTERBUFFER(fixed)=default)

...

Code Block
titleExample: Fixed with 200ms max size and video sync support
linenumberstrue
languagetext


exten => 1,1,Set(JITTERBUFFER(fixed)=200,,,yes)

Code Block
titleExample: Fixed with 200ms max size, resync threshold 1500
linenumberstrue
languagetext
exten => 1,1,Set(JITTERBUFFER(fixed)=200,1500)

...

Code Block
titleExample: Adaptive with 200ms max size, 60ms target extra
linenumberstrue
languagetext
exten => 1,1,Set(JITTERBUFFER(adaptive)=200,,60)

Code Block
titleExample: Adaptive with 200ms max size and video sync support
linenumberstrue
languagetext


exten => 1,1,Set(JITTERBUFFER(adaptive)=200,,,yes)

Code Block
titleExample: Set a fixed jitterbuffer with defaults; then remove it
linenumberstrue
languagetext
exten => 1,1,Set(JITTERBUFFER(fixed)=default)
exten => 1,n,Set(JITTERBUFFER(disabled)=)

...

This documentation was imported from Asterisk Version GIT-18-3330764