startScreenCapture method
Turn on screen capture
Note: startVirtualCamera, startCamera, startScreenCapture, only one of them can be uplink under the same Pusher instance, and the three are overlay relationships. For example, startCamera is called first, and then startVirtualCamera is called. In this case, the camera is paused and the image stream is started
Parameter:
appGroup
This parameter is only valid for iOS and can be ignored for Android. It is the Application Group Identifier that is shared by the main application and the broadcast process
Return:
'0' success, more information please see V2TXLiveCode
Implementation
Future<V2TXLiveCode> startScreenCapture(String appGroup) async {
var result = await _channel.invokeMethod('startScreenCapture', {"appGroup": appGroup});
return _liveCodeWithResult(result);
}