Class StreamInfo
Inheritance
System.Object
StreamInfo
Assembly: MediaBrowser.Model.dll
Constructors
Declaration
Properties
Declaration
public bool AddSubtitleStreamIndexesToUrl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool AllowInterlacedVideoStreamCopy { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public RequestedStreamInfo[] AudioStreams { get; set; }
Property Value
Declaration
public bool BreakOnNonKeyFrames { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string Container { get; set; }
Property Value
Type |
Description |
System.String |
|
Context
Declaration
public EncodingContext Context { get; set; }
Property Value
Declaration
public bool CopyTimestamps { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string DeviceId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public DeviceProfile DeviceProfile { get; set; }
Property Value
Declaration
public string DeviceProfileId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool EnableMpegtsM2TsMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EstimateContentLength
Declaration
public bool EstimateContentLength { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool FillEmptySubtitleSegments { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsDirectStream { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool? IsTargetAnamorphic { get; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public bool? IsTargetInterlaced { get; }
Property Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public long ItemId { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Declaration
public string ManifestSubtitles { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int? MaxHeight { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public int? MaxWidth { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public MediaSourceInfo MediaSource { get; set; }
Property Value
Declaration
public string MediaSourceId { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public DlnaProfileType MediaType { get; set; }
Property Value
Declaration
public int? MinSegments { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public PlayMethod PlayMethod { get; set; }
Property Value
Declaration
public string PlaySessionId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool RequireNonAnamorphic { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public long? RunTimeTicks { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int64> |
|
Declaration
public int? SegmentLength { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public long StartPositionTicks { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Declaration
public Dictionary<string, string> StreamOptions { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
|
Declaration
public string SubProtocol { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public RequestedStreamInfo[] SubtitleStreams { get; set; }
Property Value
Predicts the audio sample rate that will be in the output stream
Declaration
public float? TargetFramerate { get; }
Property Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public int? TargetHeight { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Gets the target reference frames.
Declaration
public int? TargetRefFrames { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
The target reference frames.
|
Predicts the audio channels that will be in the output stream
Declaration
public long? TargetSize { get; }
Property Value
Type |
Description |
System.Nullable<System.Int64> |
|
Declaration
public TransportStreamTimestamp TargetTimestamp { get; }
Property Value
Declaration
public int? TargetTotalBitrate { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Predicts the audio sample rate that will be in the output stream
Declaration
public int? TargetVideoBitDepth { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public int? TargetVideoBitrate { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public string[] TargetVideoCodec { get; }
Property Value
Type |
Description |
System.String[] |
|
Gets the target video codec tag.
Declaration
public string TargetVideoCodecTag { get; }
Property Value
Type |
Description |
System.String |
The target video codec tag.
|
Predicts the audio sample rate that will be in the output stream
Declaration
public double? TargetVideoLevel { get; }
Property Value
Type |
Description |
System.Nullable<System.Double> |
|
Predicts the audio sample rate that will be in the output stream
Declaration
public string TargetVideoProfile { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string TargetVideoRange { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int? TargetVideoRotation { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Returns the video stream that will be used
Declaration
public MediaStream TargetVideoStream { get; }
Property Value
Declaration
public int? TargetWidth { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public TranscodeReason[] TranscodeReasons { get; set; }
Property Value
Declaration
public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
Property Value
Declaration
public int? TranscodingMaxAudioChannels { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public int? VideoBitrate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public string[] VideoCodecs { get; set; }
Property Value
Type |
Description |
System.String[] |
|
Declaration
public string VideoSideDataSubs { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public string GetOption(ReadOnlySpan<char> qualifier, string name)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
qualifier |
|
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
Declaration
public string GetOption(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
Declaration
public List<MediaStream> GetSelectableStreams(MediaStreamType type)
Parameters
Returns
Type |
Description |
System.Collections.Generic.List<MediaStream> |
|
Declaration
public List<SubtitleStreamInfo> GetSubtitleProfiles(ITranscoderSupport transcoderSupport, bool includeSelectedTrackOnly, string baseUrl, string accessToken)
Parameters
Type |
Name |
Description |
ITranscoderSupport |
transcoderSupport |
|
System.Boolean |
includeSelectedTrackOnly |
|
System.String |
baseUrl |
|
System.String |
accessToken |
|
Returns
Predicts the audio sample rate that will be in the output stream
Declaration
public int? GetTargetAudioBitDepth(RequestedStreamInfo targetAudioStream)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public int? GetTargetAudioBitDepth(ReadOnlySpan<char> codec)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
codec |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Predicts the audio bitrate that will be in the output stream
Declaration
public int? GetTargetAudioBitrate(RequestedStreamInfo audioStream)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Predicts the audio channels that will be in the output stream
Declaration
public int? GetTargetAudioChannels(RequestedStreamInfo targetAudioStream)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Predicts the audio codec that will be in the output stream
Declaration
public string[] GetTargetAudioCodec(RequestedStreamInfo audioStream)
Parameters
Returns
Type |
Description |
System.String[] |
|
Predicts the audio sample rate that will be in the output stream
Declaration
public int? GetTargetAudioSampleRate(MediaStream targetAudioStream)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public float? GetTargetFramerate(ReadOnlySpan<char> codec)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
codec |
|
Returns
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public int? GetTargetRefFrames(ReadOnlySpan<char> codec)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
codec |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public int? GetTargetVideoBitDepth(ReadOnlySpan<char> codec)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
codec |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public double? GetTargetVideoLevel(ReadOnlySpan<char> codec)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
codec |
|
Returns
Type |
Description |
System.Nullable<System.Double> |
|
Declaration
public int? GetTargetVideoRotation(ReadOnlySpan<char> codec)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
codec |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public void SetOption(ReadOnlySpan<char> qualifier, string name, string value)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
qualifier |
|
System.String |
name |
|
System.String |
value |
|
Declaration
public void SetOption(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
Declaration
public string ToUrl(string baseUrl, string accessToken)
Parameters
Type |
Name |
Description |
System.String |
baseUrl |
|
System.String |
accessToken |
|
Returns
Type |
Description |
System.String |
|
Extension Methods