Type alias ScreenShareAPI<TrackMetadata>
ScreenShareAPI<TrackMetadata>: { addTrack: ((trackMetadata?,
maxBandwidth?) => Promise<string>); broadcast: Track<TrackMetadata> | null; enabled: boolean; error: DeviceError | null; mediaStatus: MediaStatus | null; removeTrack: (() => Promise<void>); setEnable: ((value) => void); start: ((config?) => void); status: DevicesStatus | null; stop: (() => void); stream: MediaStream | null; track: MediaStreamTrack | null; } Type declaration
addTrack: ((trackMetadata?, maxBandwidth?) => Promise<string>)
- (trackMetadata?, maxBandwidth?): Promise<string>
Returns Promise<string>
enabled: boolean
error: DeviceError | null
mediaStatus: MediaStatus | null
removeTrack: (() => Promise<void>)
setEnable: ((value) => void)
- (value): void
Returns void
start: ((config?) => void)
- (config?): void
Returns void
status: DevicesStatus | null
stop: (() => void)