HMSScreenVideoTrack

Hierarchy

Properties

captureHandle

Optional captureHandle: ScreenCaptureHandle

this can be used to identify the shared tab, if the shared tab has set a captureHandle on its end as well as communicate with the tab, for example using broadcast channel.


degraded

Optional degraded: boolean

Inherited from

Omit.degraded


deviceID

Optional deviceID: string

Inherited from

Omit.deviceID


displayEnabled

Optional displayEnabled: boolean

Inherited from

Omit.displayEnabled


displaySurface

Optional displaySurface: HMSTrackDisplaySurface


enabled

enabled: boolean

Inherited from

Omit.enabled


height

Optional height: number

Inherited from

Omit.height


id

id: string

Inherited from

Omit.id


interrupted

Optional interrupted: boolean

only applicable for local tracks - true while the OS or another app has taken the device, eg. an incoming call. Cleared once capture is back, however it came back.

Backgrounding the tab on mobile is not reported here: the device is handed back on return. It is set on return if the device did not come back.

Inherited from

Omit.interrupted


isPublished

Optional isPublished: boolean

only applicable for local tracks - to denote if a track has been published or not false for preview tracks

Inherited from

Omit.isPublished


layer

Optional layer: HMSSimulcastLayer

Inherited from

Omit.layer


layerDefinitions

Optional layerDefinitions: HMSSimulcastLayerDefinition[]

Inherited from

Omit.layerDefinitions


peerId

Optional peerId: string

Inherited from

Omit.peerId


plugins

Optional plugins: string[]

Inherited from

Omit.plugins


preferredLayer

Optional preferredLayer: HMSPreferredSimulcastLayer

Inherited from

Omit.preferredLayer


source

source: "screen"

Overrides

Omit.source


type

type: "video"

Inherited from

Omit.type


width

Optional width: number

Inherited from

Omit.width


Have a suggestion? Recommend changes ->

Was this helpful?

1234