Future<int> switchLiveRole(RCRTCRole role) async { int code = await _channel.invokeMethod('switchLiveRole', role.index) ?? -1; return code; }