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
otherDataStream.Types.Chunk
Properties
ChunkIndex
public ulong ChunkIndex { get; set; }
Property Value
Content
content as binary (bytes)
public ByteString Content { get; set; }
Property Value
HasIv
Gets whether the "iv" field is set
[Obsolete]
public bool HasIv { get; }
Property Value
Iv
this is set on the DataPacket
[Obsolete]
public ByteString Iv { get; set; }
Property Value
StreamId
unique identifier for this data stream to map it to the correct header
public string StreamId { get; set; }
Property Value
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
Methods
ClearIv()
Clears the value of the "iv" field
[Obsolete]
public void ClearIv()