startVoiceTalk static method
开始对讲
Implementation
static Future<bool> startVoiceTalk({
required String deviceSerial,
String? verifyCode,
int cameraNo = 1,
int isPhone2Dev = 1, //1手机端说设备端听 0手机端听设备端说
int supportTalk = 1, //1-全双工 3-半双工
}) async {
Map<String, dynamic> argsParam = {
"deviceSerial": deviceSerial,
"verifyCode": verifyCode,
"cameraNo": cameraNo,
"isPhone2Dev": isPhone2Dev,
"supportTalk": supportTalk,
};
bool result = await _channel.invokeMethod("start_voice_talk", argsParam);
return result;
}