disableScreenShare

This method can be used to disable screen sharing for the local participant.

Events:

  • onStreamDisabled — emitted on all participants when the screen-share stream is disabled
  • onPresenterChanged — emitted on all participants with null when the presenter stops sharing

Code Example:


meeting.disableScreenShare()