Class PublishDataTrackRequest
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
public sealed class PublishDataTrackRequest : IMessage<PublishDataTrackRequest>, IEquatable<PublishDataTrackRequest>, IDeepCloneable<PublishDataTrackRequest>, IBufferMessage, IMessage
- Inheritance
-
PublishDataTrackRequest
- Implements
-
IBufferMessage
- Inherited Members
Constructors
PublishDataTrackRequest()
public PublishDataTrackRequest()
PublishDataTrackRequest(PublishDataTrackRequest)
public PublishDataTrackRequest(PublishDataTrackRequest other)
Parameters
otherPublishDataTrackRequest
Properties
Encryption
Method used for end-to-end encryption (E2EE) on frame payloads.
public Encryption.Types.Type Encryption { get; set; }
Property Value
FrameEncoding
Encoding for frame payloads on this track. If unspecified, the track is untyped.
public DataTrackFrameEncoding FrameEncoding { get; set; }
Property Value
Name
Human-readable identifier (e.g., geoLocation, servoPosition.x, etc.), unique per publisher.
This must be non-empty and no longer than 256 characters.
public string Name { get; set; }
Property Value
PubHandle
Client-assigned, 16-bit identifier that will be attached to packets sent by the publisher. This must be non-zero and unique for each data track published by the publisher.
public uint PubHandle { get; set; }
Property Value
Schema
ID of the schema used by frames on this track if the track is typed.
If set, the associated schema must be stored with StoreDataBlobRequest.
public DataTrackSchemaId Schema { get; set; }