isScreenShare method
Returns true if the attached MediaStream contains a video track whose contents come from a screen shared by the local participant.
Implementation
Future<bool> isScreenShare() async {
final state = _state;
if (state != null) {
return state._isScreenShare();
}
developer.log(
"VideoViewController.isScreenShare(): The VideoView has not been instantiated yet.");
return Future.error("The VideoView has not been instantiated yet.");
}