restartAudioOnTunneledVideoCodecReinitialization
Restarts the audio output after a tunneled video decoder is recreated.
Enable this to work around frozen video with continuing audio on affected devices, such as during clear-to-Widevine transitions.
When enabled, this workaround can restart audio after any tunneled video-decoder recreation, including on unaffected devices. Restarting audio may cause a brief audible interruption. Enable it only for devices known to exhibit the freeze.
For example, an application can restrict the workaround to its own device allowlist:
val isAffectedDevice = Build.MODEL in affectedDeviceModels
val tweaksConfig = TweaksConfig(
restartAudioOnTunneledVideoCodecReinitialization = isAffectedDevice,
)Content copied to clipboard
Default: false.