DataTrackInfo

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.

usesE2ee

Whether the track's frames are end-to-end encrypted.

schema

Schema describing the track's frames, if the publisher declared one.

frameEncoding

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?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard