Class StreamContainerBase
Stream container base class.
Namespace: Emby.Media.Model.Containers
Assembly: Emby.Media.Model.dll
Syntax
public abstract class StreamContainerBase
Constructors
StreamContainerBase()
Initializes a new instance of the StreamContainerBase class.
Declaration
protected StreamContainerBase()
StreamContainerBase(IEnumerable<StreamBase>)
Initializes a new instance of the StreamContainerBase class.
Declaration
protected StreamContainerBase(IEnumerable<StreamBase> streams)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<StreamBase> | streams | The streams. |
Properties
AudioStream0
Gets the audio stream #0.
Declaration
public AudioStream AudioStream0 { get; }
Property Value
Type | Description |
---|---|
AudioStream | The audio stream #0. |
AudioStream1
Gets the audio stream #1.
Declaration
public AudioStream AudioStream1 { get; }
Property Value
Type | Description |
---|---|
AudioStream | The audio stream #1. |
AudioStreams
Gets the streams.
Declaration
public IReadOnlyList<AudioStream> AudioStreams { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<AudioStream> | The streams. |
ContainerFormat
Gets or sets the container format.
Declaration
public string ContainerFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The container format. |
Protocol
Gets or sets the protocol.
Declaration
public string Protocol { get; set; }
Property Value
Type | Description |
---|---|
System.String | The protocol. |
Streams
Gets the streams.
Declaration
public IReadOnlyList<StreamBase> Streams { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<StreamBase> | The streams. |
SubtitleStream0
Gets the subtitle stream #0.
Declaration
public SubtitleStream SubtitleStream0 { get; }
Property Value
Type | Description |
---|---|
SubtitleStream | The subtitle stream #0. |
SubtitleStream1
Gets the subtitle stream #1.
Declaration
public SubtitleStream SubtitleStream1 { get; }
Property Value
Type | Description |
---|---|
SubtitleStream | The subtitle stream #1. |
SubtitleStreams
Gets the streams.
Declaration
public IReadOnlyList<SubtitleStream> SubtitleStreams { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<SubtitleStream> | The streams. |
Url
Gets or sets the URL.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String | The URL. |
VideoStream0
Gets the video stream #0.
Declaration
public VideoStream VideoStream0 { get; }
Property Value
Type | Description |
---|---|
VideoStream | The video stream #0. |
VideoStreams
Gets the streams.
Declaration
public IReadOnlyList<VideoStream> VideoStreams { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<VideoStream> | The streams. |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.Object.ToString()