isStereoPlayoutEnabled static method
Returns whether stereo playout is currently enabled on the ADM (iOS only).
Implementation
static Future<bool> isStereoPlayoutEnabled() async {
if (kIsWeb || !WebRTC.platformIsIOS) return false;
try {
final result = await WebRTC.invokeMethod(
'isStereoPlayoutEnabled',
<String, dynamic>{},
);
return result as bool;
} on PlatformException catch (e) {
throw 'Unable to get isStereoPlayoutEnabled: ${e.message}';
}
}