Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AudioStream

    Inheritance
    System.Object
    StreamBase
    AudioStream
    Implements
    System.ICloneable
    Inherited Members
    StreamBase.Index
    StreamBase.Id
    StreamBase.StreamType
    StreamBase.CodecTag
    StreamBase.Pid
    StreamBase.CodecTimeBase
    StreamBase.TimeBase
    StreamBase.StartTime
    StreamBase.Duration
    StreamBase.StartPts
    StreamBase.DurationTs
    StreamBase.IsDefault
    StreamBase.IsForced
    StreamBase.IsHearingImpaired
    StreamBase.Title
    StreamBase.DisplayTitle
    StreamBase.Language
    StreamBase.Comment
    StreamBase.AllTags
    StreamBase.SideDataJson
    StreamBase.ParsingErrors
    StreamBase.IsExternal
    StreamBase.OriginalStream
    StreamBase.GetShortDescription()
    StreamBase.Clone()
    Namespace: Emby.Media.Model.Streams
    Assembly: Emby.Media.Model.dll
    Syntax
    public class AudioStream : StreamBase, ICloneable

    Constructors

    AudioStream()

    Initializes a new instance of the AudioStream class.

    Declaration
    public AudioStream()

    AudioStream(AudioStream)

    Initializes a new instance of the AudioStream class.

    Declaration
    public AudioStream(AudioStream source)
    Parameters
    Type Name Description
    AudioStream source

    The source.

    Remarks

    Copy constructor.

    AudioStream(MediaStream)

    Initializes a new instance of the AudioStream class.

    Declaration
    public AudioStream(MediaStream originalStream)
    Parameters
    Type Name Description
    MediaStream originalStream

    The original stream.

    Properties

    AudioCodec

    Declaration
    [Display(Name = "Audio Codec", Description = "Audio Codec")]
    public AudioMediaTypes AudioCodec { get; set; }
    Property Value
    Type Description
    AudioMediaTypes

    BitRate

    Gets or sets the bit rate.

    Declaration
    [Display(Name = "Bitrate", Description = "The bitrate of the stream")]
    public BitRate? BitRate { get; set; }
    Property Value
    Type Description
    System.Nullable<BitRate>

    The bit rate.

    BitsPerSample

    Gets or sets the bit depth.

    Declaration
    [Display(Name = "Bits per Sample", Description = "Number of bits per sample")]
    public int? BitsPerSample { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The bit depth.

    ChannelLayout

    Gets or sets the channel layout.

    Declaration
    [Display(Name = "Channel Layout", Description = "Layout of channels")]
    public ChannelLayouts? ChannelLayout { get; set; }
    Property Value
    Type Description
    System.Nullable<ChannelLayouts>

    The channel layout.

    Channels

    Gets or sets the channels.

    Declaration
    [Display(Name = "Channel Count", Description = "The number of channels")]
    public int? Channels { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The channels.

    CodecName

    Declaration
    public override string CodecName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    StreamBase.CodecName

    Profile

    Gets or sets the profile.

    Declaration
    [Display(Name = "Profile", Description = "The video encoding profile")]
    public string Profile { get; set; }
    Property Value
    Type Description
    System.String

    The profile.

    SampleFormat

    Declaration
    [Display(Name = "Sample Format", Description = "Format of samples")]
    public SampleFormats? SampleFormat { get; set; }
    Property Value
    Type Description
    System.Nullable<SampleFormats>

    SampleRate

    Gets or sets the sample rate.

    Declaration
    [Display(Name = "Sample Rate", Description = "Number of samples per second")]
    public SampleRates? SampleRate { get; set; }
    Property Value
    Type Description
    System.Nullable<SampleRates>

    The sample rate.

    Methods

    CloneCore()

    Declaration
    protected override StreamBase CloneCore()
    Returns
    Type Description
    StreamBase
    Overrides
    StreamBase.CloneCore()

    GetShortDescriptionBits()

    Gets a short description.

    Declaration
    public override List<string> GetShortDescriptionBits()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    A string.

    Overrides
    StreamBase.GetShortDescriptionBits()

    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

    Extension Methods

    StreamBaseToMediaStream.AsMediaStream(StreamBase)
    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.