...
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 |
---|
title | Example: Fixed with defaults |
---|
linenumbers | true |
---|
language | text |
---|
|
exten => 1,1,Set(JITTERBUFFER(fixed)=default)
|
...
Code Block |
---|
title | Example: Fixed with 200ms max size and video sync support |
---|
linenumbers | true |
---|
language | text |
---|
|
exten => 1,1,Set(JITTERBUFFER(fixed)=200,,,yes)
|
Code Block |
---|
title | Example: Fixed with 200ms max size, resync threshold 1500 |
---|
linenumbers | true |
---|
language | text |
---|
|
exten => 1,1,Set(JITTERBUFFER(fixed)=200,1500)
|
...
Code Block |
---|
title | Example: Adaptive with 200ms max size, 60ms target extra |
---|
linenumbers | true |
---|
language | text |
---|
|
exten => 1,1,Set(JITTERBUFFER(adaptive)=200,,60)
|
Code Block |
---|
title | Example: Adaptive with 200ms max size and video sync support |
---|
linenumbers | true |
---|
language | text |
---|
|
exten => 1,1,Set(JITTERBUFFER(adaptive)=200,,,yes)
|
Code Block |
---|
title | Example: Set a fixed jitterbuffer with defaults; then remove it |
---|
linenumbers | true |
---|
language | text |
---|
|
exten => 1,1,Set(JITTERBUFFER(fixed)=default)
exten => 1,n,Set(JITTERBUFFER(disabled)=)
|
...
This documentation was imported from Asterisk Version GIT-18-3330764