refreshStereoPlayoutState static method
Refreshes the stereo playout state on the ADM (iOS only).
Implementation
static Future<void> refreshStereoPlayoutState() async {
if (kIsWeb || !WebRTC.platformIsIOS) return;
try {
await WebRTC.invokeMethod(
'refreshStereoPlayoutState',
<String, dynamic>{},
);
} on PlatformException catch (e) {
throw 'Unable to refresh stereo playout state: ${e.message}';
}
}