Table of Contents

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

streamId string

Unique ID of the stream.

mimeType string

MIME type of the content.

topic string

Topic the stream was sent on.

timestamp long

Send time, in milliseconds since the Unix epoch.

size long?

Total size in bytes, or null when unknown.

attributes Dictionary<string, string>

Custom attributes, or null.

attachments IReadOnlyList<string>

IDs of the attached byte streams, or null.

Properties

Attachments

Gets the attached stream IDs.

public IReadOnlyList<string> Attachments { get; }

Property Value

IReadOnlyList<string>