Data Track Info
data class DataTrackInfo(val sid: DataTrackSid, val name: String, val usesE2ee: Boolean, val schema: DataTrackSchemaId?, val frameEncoding: DataTrackFrameEncoding?)
Metadata describing a published data track.
Parameters
sid
Server-assigned unique identifier for the track. Not stable across a publisher's full reconnect; see DataTrackSid.
name
Name chosen by the publisher; unique per participant.
uses E2ee
Whether the track's frames are end-to-end encrypted.
schema
Schema describing the track's frames, if the publisher declared one.
frame Encoding
Encoding of the track's frames, if the publisher declared one.
Constructors
Link copied to clipboard
constructor(sid: DataTrackSid, name: String, usesE2ee: Boolean, schema: DataTrackSchemaId?, frameEncoding: DataTrackFrameEncoding?)