Set the opus payload type ideally obtained from local offer.
Set the RED payload type ideally obtained from local offer.
Enable or disable redundancy in response to high packet loss event.
Sets up a passthrough (no-op) transform for the given streams.
Sets up the transform stream and pipes the received encoded audio frames through the transform function.
Sets up the transform stream and pipes the outgoing encoded audio frames through the transform function.
Returns the number of encodings based on packetLoss value. This is used by DefaultTransceiverController
to
determine when to alert the encoder to update the number of encodings. It also determines if we need to
turn off red in cases of very high packet loss to avoid congestion collapse.
Creates an instance of RedundantAudioEncoder and sets up callbacks.
Post logs to the main thread
Generated using TypeDoc
Set the number of redundant encodings