Package-level declarations

Types

Link copied to clipboard
class DataTrackFrame(val payload: ByteArray, val userTimestamp: Long? = null)

A single unit of application data sent or received over a data track.

Link copied to clipboard

Encoding of the frames sent over a data track.

Link copied to clipboard
data class DataTrackFrameFormat(val frameEncoding: DataTrackFrameEncoding, val schema: DataTrackSchemaId? = null)

Describes the frames on a data track.

Link copied to clipboard
data class DataTrackInfo(val sid: DataTrackSid, val name: String, val usesE2ee: Boolean, val schema: DataTrackSchemaId?, val frameEncoding: DataTrackFrameEncoding?)

Metadata describing a published data track.

Link copied to clipboard

An error raised while publishing a LocalDataTrack.

Link copied to clipboard
data class DataTrackPublishOptions(val frameFormat: DataTrackFrameFormat? = null)

Options for publishing a data track.

Link copied to clipboard

The reason a frame could not be pushed via LocalDataTrack.tryPush.

Link copied to clipboard

Encoding of a data track schema definition.

Link copied to clipboard
data class DataTrackSchemaId(val name: String, val encoding: DataTrackSchemaEncoding)

Identifies the schema describing a data track's frames.

Link copied to clipboard
@Serializable
value class DataTrackSid(val value: String)

A server-assigned data track identifier.

Link copied to clipboard

A stream of frames received from a subscribed RemoteDataTrack.

Link copied to clipboard

An error raised while subscribing to a RemoteDataTrack.

Link copied to clipboard
Link copied to clipboard
class LocalDataTrack : DataTrackFrameSink

A data track published by the local participant. Obtain one from io.livekit.android.room.participant.LocalParticipant.publishDataTrack, then push frames with tryPush or send.

Link copied to clipboard

A data track published by a remote participant.