Class SubtitleStream
Implements
System.ICloneable
Inherited Members
Namespace: Emby.Media.Model.Streams
Assembly: Emby.Media.Model.dll
Syntax
public class SubtitleStream : StreamBase, ICloneable
Constructors
SubtitleStream()
Initializes a new instance of the SubtitleStream class.
Declaration
public SubtitleStream()
SubtitleStream(SubtitleStream)
Initializes a new instance of the SubtitleStream class.
Declaration
public SubtitleStream(SubtitleStream source)
Parameters
Type | Name | Description |
---|---|---|
SubtitleStream | source | The source. |
Remarks
Copy constructor.
SubtitleStream(MediaStream)
Initializes a new instance of the SubtitleStream class.
Declaration
public SubtitleStream(MediaStream originalStream)
Parameters
Type | Name | Description |
---|---|---|
MediaStream | originalStream | The original stream. |
Properties
ClosedCaptionType
Gets or sets the type of the closed caption.
Declaration
[Display(Name = "Closed Caption Type", Description = "The data/channel for closed caption streams")]
public ClosedCaptionType ClosedCaptionType { get; set; }
Property Value
Type | Description |
---|---|
ClosedCaptionType | The type of the closed caption. |
CodecName
Declaration
public override string CodecName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Extradata
Declaration
[Browsable(false)]
[Display(Name = "Extra Data", Description = "Extra Codec Data")]
public string Extradata { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FrameSize
Gets or sets the size of of graphical subtitles.
Declaration
[Display(Name = "Frame Size", Description = "The width and height of graphical subtitles in pixels")]
public Resolution? FrameSize { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Resolution> | The size of of graphical subtitles. |
IsGraphical
Gets or sets the size of of graphical subtitles.
Declaration
[Display(Name = "Is Graphical", Description = "Whether the subtitles are graphical or text based")]
public bool IsGraphical { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The size of of graphical subtitles. |
IsText
Declaration
[Browsable(false)]
public bool IsText { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SubtitleCodec
Declaration
[Display(Name = "Subtitle Codec", Description = "Subtitle Codec")]
public SubtitleMediaTypes SubtitleCodec { get; set; }
Property Value
Type | Description |
---|---|
SubtitleMediaTypes |
Methods
CloneCore()
Declaration
protected override StreamBase CloneCore()
Returns
Type | Description |
---|---|
StreamBase |
Overrides
GetShortDescriptionBits()
Gets a short description.
Declaration
public override List<string> GetShortDescriptionBits()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A string. |
Overrides
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()
Implements
System.ICloneable