Class ByteStreamInfo
- Namespace
- LiveKit.Rtc
- Assembly
- LivekitRtc.dll
Information for a byte stream.
public class ByteStreamInfo : BaseStreamInfo
- Inheritance
-
ByteStreamInfo
- Inherited Members
Constructors
ByteStreamInfo(string, string, string, long, long?, Dictionary<string, string>?, string)
Initializes byte stream info.
public ByteStreamInfo(string streamId, string mimeType, string topic, long timestamp, long? size, Dictionary<string, string>? attributes, string name)
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.
namestringFile name of the content; empty when null.
Properties
Name
Gets the stream name.
public string Name { get; }