ScreenShareAlreadyActiveError
A call carries at most one screen share. Accepting a second one would overwrite the only reference the SDK holds to the first, leaving it capturing and sending with no way to stop it — so the second request is rejected and the live share is left untouched. Call stopScreenShare() first to replace it.
Extends
Error
Constructors
Constructor
Parameters
screenShareId
ID of the screen share leg that is already active.
options
Standard ErrorOptions, e.g. { cause }.
Properties
screenShareId
ID of the screen share leg that is already active.
Examples
See
startScreenShare.screenShareStatus$— read it before calling, and treat'starting'/'stopping'as busy.