Table of Contents

Class StreamMetadata

Namespace
TorBoxSDK.Models.Stream
Assembly
TorBoxSDK.dll

Represents nested stream metadata from the stream data response.

public sealed record StreamMetadata : IEquatable<StreamMetadata>
Inheritance
StreamMetadata
Implements
Inherited Members

Properties

Audios

Gets available audio tracks metadata.

[JsonPropertyName("audios")]
public IReadOnlyList<AudioTrackInfo> Audios { get; init; }

Property Value

IReadOnlyList<AudioTrackInfo>

Chapters

Gets the chapters track filename, or null if not available.

[JsonPropertyName("chapters")]
public string? Chapters { get; init; }

Property Value

string

Subtitles

Gets available subtitle tracks metadata.

[JsonPropertyName("subtitles")]
public IReadOnlyList<SubtitleTrackInfo> Subtitles { get; init; }

Property Value

IReadOnlyList<SubtitleTrackInfo>

Thumbnail

Gets the thumbnail filename or URL, or null if not available.

[JsonPropertyName("thumbnail")]
public string? Thumbnail { get; init; }

Property Value

string

Video

Gets raw video metadata, or null if not available.

[JsonPropertyName("video")]
public object? Video { get; init; }

Property Value

object