Table of Contents

Class DataTrackFrame

Namespace
LiveKit.Rtc
Assembly
LivekitRtc.dll

A frame published on a data track: a payload and an optional user timestamp.

public class DataTrackFrame
Inheritance
DataTrackFrame
Inherited Members

Constructors

DataTrackFrame(byte[], ulong?)

Creates a frame to push on a LocalDataTrack.

public DataTrackFrame(byte[] payload, ulong? userTimestamp = null)

Parameters

payload byte[]

The frame payload.

userTimestamp ulong?

Optional user timestamp delivered with the frame.

Properties

Payload

The frame payload.

public byte[] Payload { get; }

Property Value

byte[]

UserTimestamp

The user timestamp attached to the frame, if any.

public ulong? UserTimestamp { get; }

Property Value

ulong?