stopScreenShare
Stops the current screen share. Safe to call when no share is active or while one is already stopping — it returns without sending a second teardown.
Stopping a share whose leg has not finished connecting rejects the pending startScreenShare call with AuxiliaryLegCancelledError, so the caller can tell a cancel apart from a share that actually came up.
Returns
Promise<void>
Examples
See
screenShareStatus$— reactive state.startScreenShare.