Differentiated Services Code Point (DSCP) Tagging API
The Differentiated Services Code Point (DSCP) Tagging API allows you to mark the audio packets with Expedited Forwarding (EF) for the purposes of improved packet routing. When enabled, supporting networks will prioritize audio packet delivery for improved audio quality.
Use enableDscp to enable or disable DSCP tagging. Note, enableDscp is enabled by default.
For example:
// Configure DSCP with `TVOConnectOptions`
let connectOptions = TVOConnectOptions(accessToken: accessToken) { (builder) in
builder.enableDscp = true
}
let call = TwilioVoice.connect(with: connectOptions, delegate: callDelegate)
// Configure DSCP with `TVOAcceptOptions`
let acceptOptions = TVOAcceptOptions(accessToken: accessToken) { (builder) in
builder.enableDscp = true
}
let call = callInvite.accept(with: acceptOptions, delegate: callDelegate)
Enhancements
Differentiated Services Code Point (DSCP) Tagging API
The Differentiated Services Code Point (DSCP) Tagging API allows you to mark the audio packets with Expedited Forwarding (EF) for the purposes of improved packet routing. When enabled, supporting networks will prioritize audio packet delivery for improved audio quality.
Use
enableDscp
to enable or disable DSCP tagging. Note,enableDscp
is enabled by default. For example:For more information, refer to the docs.