enableLocalVideo method Null safety
- bool enable
Enable or disable the local video capture and publishing.
enable - true: Enable the local video; false: disable the local video
Implementation
Future<int> enableLocalVideo(bool enable) async {
IntValue reply = await _api.enableLocalVideo(BoolValue()..value = enable);
return reply.value ?? -1;
}