Tab sharing state for screen, microphone and camera.

interface SharingState {
    camera: boolean;
    microphone: boolean;
    screen?: string;
}
Index
camera: boolean

True if the tab is using the camera.

microphone: boolean

True if the tab is using the microphone.

screen?: string

If the tab is sharing the screen the value will be one of "Screen", "Window", or "Application", or undefined if not screen sharing.