setAudioRecoveryPolicy method
Configures the automatic audio-stream error recovery loop (retry attempts, backoff, and stall detection).
Applies to the next publication opened and to any in-flight recovery loop — there is no mid-stream reconfiguration of an already-running attempt sequence. Unconfigured, the navigators use AudioRecoveryPolicy's defaults.
Implementation
@override
Future<void> setAudioRecoveryPolicy(AudioRecoveryPolicy policy) async {
await methodChannel.invokeMethod<void>('setAudioRecoveryPolicy', policy.toJson());
}