Table of Contents

Class DataStream.Types.Chunk

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll
public sealed class DataStream.Types.Chunk : IMessage<DataStream.Types.Chunk>, IEquatable<DataStream.Types.Chunk>, IDeepCloneable<DataStream.Types.Chunk>, IBufferMessage, IMessage
Inheritance
DataStream.Types.Chunk
Implements
IBufferMessage
Inherited Members

Constructors

Chunk()

public Chunk()

Chunk(Chunk)

public Chunk(DataStream.Types.Chunk other)

Parameters

other DataStream.Types.Chunk

Properties

ChunkIndex

public ulong ChunkIndex { get; set; }

Property Value

ulong

Content

content as binary (bytes)

public ByteString Content { get; set; }

Property Value

ByteString

HasIv

Gets whether the "iv" field is set

[Obsolete]
public bool HasIv { get; }

Property Value

bool

Iv

this is set on the DataPacket

[Obsolete]
public ByteString Iv { get; set; }

Property Value

ByteString

StreamId

unique identifier for this data stream to map it to the correct header

public string StreamId { get; set; }

Property Value

string

Version

a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced

public int Version { get; set; }

Property Value

int

Methods

ClearIv()

Clears the value of the "iv" field

[Obsolete]
public void ClearIv()