enableSuperResolution method Null safety
- bool enable
Enables or disables AI super resolution. Before you enable the AI super resolution feature, contact technical support to activate the AI super resolution feature. AI super resolution is only valid for the following types of video streams:
- The first 360p video stream received by the local client.
- The camera feed captured into the mainstream. The AI super resolution feature does not currently support restoration and reconstruction of small streams and screen sharing in the substream.
Implementation
Future<int> enableSuperResolution(bool enable) async {
IntValue reply =
await _api.enableSuperResolution(BoolValue()..value = enable);
return reply.value ?? -1;
}