Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TrackContext

Track's context i.e. all data that can be usful when operating on track.

Hierarchy

  • TrackContext

Index

Properties

metadata

metadata: any

Any info that was passed in addTrack.

peer

peer: Peer

Peer this track comes from.

stream

stream: null | MediaStream

Stream this track belongs to.

track

track: null | MediaStreamTrack

trackId

trackId: string

Track id. It is generated by RTC engine and takes form peer_id:<random_uuidv4>. It is WebRTC agnostic i.e. it does not contain mid or stream id.

Generated using TypeDoc