Class TextStreamInfo
- Namespace
- LiveKit.Rtc
- Assembly
- LivekitRtc.dll
Information for a text stream.
public class TextStreamInfo : BaseStreamInfo
- Inheritance
-
TextStreamInfo
- Inherited Members
Constructors
TextStreamInfo(string, string, string, long, long?, Dictionary<string, string>?, IReadOnlyList<string>?)
Initializes text stream info.
public TextStreamInfo(string streamId, string mimeType, string topic, long timestamp, long? size, Dictionary<string, string>? attributes, IReadOnlyList<string>? attachments)
Parameters
streamIdstringUnique ID of the stream.
mimeTypestringMIME type of the content.
topicstringTopic the stream was sent on.
timestamplongSend time, in milliseconds since the Unix epoch.
sizelong?Total size in bytes, or null when unknown.
attributesDictionary<string, string>Custom attributes, or null.
attachmentsIReadOnlyList<string>IDs of the attached byte streams, or null.
Properties
Attachments
Gets the attached stream IDs.
public IReadOnlyList<string> Attachments { get; }