setVideoEnabled method
- bool enabled, {
- MediaSourceKind source = MediaSourceKind.device,
Sets the inbound video of this CallMember as enabled
.
Implementation
Future<void> setVideoEnabled(
bool enabled, {
MediaSourceKind source = MediaSourceKind.device,
}) async {
Log.debug('setVideoEnabled($enabled, $source)', '$runtimeType');
if (enabled) {
await _connection?.enableRemoteVideo(source);
} else {
await _connection?.disableRemoteVideo(source);
}
}