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 Parameters

  • TrackMetadata

Type declaration