Table of Contents

Class AudioTrackInfo

Namespace
TorBoxSDK.Models.Stream
Assembly
TorBoxSDK.dll

Represents audio track metadata from a stream.

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

Properties

ChannelLayout

Gets the channel layout, or null if not available.

[JsonPropertyName("channel_layout")]
public string? ChannelLayout { get; init; }

Property Value

string

Channels

Gets the number of channels, or null if not available.

[JsonPropertyName("channels")]
public int? Channels { get; init; }

Property Value

int?

Codec

Gets the audio codec name, or null if not available.

[JsonPropertyName("codec")]
public string? Codec { get; init; }

Property Value

string

CodecType

Gets the codec type, or null if not available.

[JsonPropertyName("codec_type")]
public string? CodecType { get; init; }

Property Value

string

Default

Gets a value indicating whether this audio track is the default track.

[JsonPropertyName("default")]
public bool? Default { get; init; }

Property Value

bool?

Index

Gets the audio track index.

[JsonPropertyName("index")]
public int Index { get; init; }

Property Value

int

Language

Gets the audio language code, or null if not available.

[JsonPropertyName("language")]
public string? Language { get; init; }

Property Value

string

LanguageFull

Gets the full language name, or null if not available.

[JsonPropertyName("language_full")]
public string? LanguageFull { get; init; }

Property Value

string

SampleRate

Gets the audio sample rate, or null if not available.

[JsonPropertyName("sample_rate")]
public string? SampleRate { get; init; }

Property Value

string

Title

Gets the track title, or null if not available.

[JsonPropertyName("title")]
public string? Title { get; init; }

Property Value

string