Skip to main content

Interface: SourceTrackMetadata

Metadata about the source media track, captured on the main thread before the track is handed off for processing.

Properties​

displayWidth​

• Optional displayWidth: number

The source track's intended display width, in pixels, from MediaStreamTrack.getSettings().width.


displayHeight​

• Optional displayHeight: number

The source track's intended display height, in pixels, from MediaStreamTrack.getSettings().height.