> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # stopScreenShare > Stops the current screen share. ```ts stopScreenShare(): Promise ``` 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`](/docs/browser-sdk/v4/reference/self-participant/start-screen-share) call with [`AuxiliaryLegCancelledError`](/docs/browser-sdk/v4/reference/errors/auxiliary-leg-cancelled-error), so the caller can tell a cancel apart from a share that actually came up. ## **Returns** `Promise` ## **Examples** ```ts await selfParticipant.stopScreenShare(); ``` ## **See** * [`screenShareStatus$`](/docs/browser-sdk/v4/reference/self-participant/screen-share-status\$) — reactive state. * [`startScreenShare`](/docs/browser-sdk/v4/reference/self-participant/start-screen-share). > Stops the current screen share.