Class DataPacket
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
new DataPacket API
public sealed class DataPacket : IMessage<DataPacket>, IEquatable<DataPacket>, IDeepCloneable<DataPacket>, IBufferMessage, IMessage
- Inheritance
-
DataPacket
- Implements
-
IBufferMessage
- Inherited Members
Constructors
DataPacket()
public DataPacket()
DataPacket(DataPacket)
public DataPacket(DataPacket other)
Parameters
otherDataPacket
Properties
ChatMessage
public ChatMessage ChatMessage { get; set; }
Property Value
DestinationIdentities
identities of participants who will receive the message (sent to all by default)
public RepeatedField<string> DestinationIdentities { get; }
Property Value
EncryptedPacket
public EncryptedPacket EncryptedPacket { get; set; }
Property Value
Kind
[Obsolete]
public DataPacket.Types.Kind Kind { get; set; }
Property Value
Metrics
public MetricsBatch Metrics { get; set; }
Property Value
ParticipantIdentity
participant identity of user that sent the message
public string ParticipantIdentity { get; set; }
Property Value
ParticipantSid
sid of the user that sent the message
public string ParticipantSid { get; set; }
Property Value
RpcAck
public RpcAck RpcAck { get; set; }
Property Value
RpcRequest
public RpcRequest RpcRequest { get; set; }
Property Value
RpcResponse
public RpcResponse RpcResponse { get; set; }
Property Value
Sequence
sequence number of reliable packet
public uint Sequence { get; set; }
Property Value
SipDtmf
public SipDTMF SipDtmf { get; set; }
Property Value
Speaker
[Obsolete]
public ActiveSpeakerUpdate Speaker { get; set; }
Property Value
StreamChunk
public DataStream.Types.Chunk StreamChunk { get; set; }
Property Value
StreamHeader
public DataStream.Types.Header StreamHeader { get; set; }
Property Value
StreamTrailer
public DataStream.Types.Trailer StreamTrailer { get; set; }
Property Value
Transcription
public Transcription Transcription { get; set; }
Property Value
User
public UserPacket User { get; set; }
Property Value
ValueCase
public DataPacket.ValueOneofCase ValueCase { get; }
Property Value
Methods
ClearValue()
public void ClearValue()