enable Screen Capture
open fun enableScreenCapture()
Content copied to clipboard
open fun enableScreenCapture(deviceName: String, resolution: String): Boolean
Content copied to clipboard
Enables sharing local device screen with desired resolution.Application can call getLastError for more details if call failed.Please see the FAQ section on "Screen Sharing" for further instructions.
Return
Returns true if operation successful, returns false otherwise.
Parameters
deviceName
Name of the desired camera/device. Should be ANDROID_SCREEN_CAPTURE
resolution
Video resolution/codec to be utilized. List of supported video resolutions for the current camera can be retrieved using getSupportedVideoSendResolutions.