TrackPublication
Summary
A TrackPublication represents a track that has been published to the room.Properties
dimensions
optional
dimension of the original published stream, video-only
dimension of the original published stream, video-only
Type
Dimensions
kind
The kind of track that is published
Type
Track.Kind
mimeType
optional
MimeType of the published track
MimeType of the published track
Type
string
simulcasted
optional
true if track was simulcasted to server, video-only
true if track was simulcasted to server, video-only
Type
boolean
source
Source of the published track
Type
Track.Source
trackName
Name of the published track
Type
string
trackSid
Server-generated unique ID of the published track
Type
string
Accessors
audioTrack
an [AudioTrack] if this publication holds an audio track
videoTrack
an [VideoTrack] if this publication holds a video track