Table of Contents

Class BaseStreamInfo

Namespace
LiveKit.Rtc
Assembly
LivekitRtc.dll

Base information for a data stream.

public class BaseStreamInfo
Inheritance
BaseStreamInfo
Derived
Inherited Members

Constructors

BaseStreamInfo(string, string, string, long, long?, Dictionary<string, string>?)

Initializes base stream info.

protected BaseStreamInfo(string streamId, string mimeType, string topic, long timestamp, long? size, Dictionary<string, string>? attributes)

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.

Properties

Attributes

Gets the stream attributes.

public Dictionary<string, string> Attributes { get; }

Property Value

Dictionary<string, string>

MimeType

Gets the MIME type.

public string MimeType { get; }

Property Value

string

Size

Gets the total size if known.

public long? Size { get; }

Property Value

long?

StreamId

Gets the stream ID.

public string StreamId { get; }

Property Value

string

Timestamp

Gets the timestamp in milliseconds.

public long Timestamp { get; }

Property Value

long

Topic

Gets the topic.

public string Topic { get; }

Property Value

string