C# Class HCS_Encoder.Outputs.SmoothStream.SmilGenerator

Helper class for generating SMIL files to send to the IIS Live Smoothstreaming snap-in
ファイルを表示 Open project: i-e-b/HLS---Smooth-Encoder Class Usage Examples

Protected Properties

Property Type Description
_channel int
_fileRoot string
_fourCC string
_privateData string

Public Methods

Method Description
Generate ( ) : byte[]

Create a SMIL document with the details provided.

"Private data" is created at this point.

SmilGenerator ( string FileRoot, MediaStream SourceStream ) : System

Prepate a SMIL generator

Private Methods

Method Description
GenerateAAC_Private ( ) : string

Generate a "Codec Private Data" string for an AAC stream (values approximate).

GenerateH264_Private ( ) : string
GenerateMP3_Private ( ) : string

Generate a "Codec Private Data" string for an MP3 stream (values approximate).

WriteAudio ( XmlWriter xml, int AudioFormat ) : void
WriteParam ( XmlWriter xml, string name, string value ) : void
WriteVideo ( XmlWriter xml ) : void

Method Details

Generate() public method

Create a SMIL document with the details provided.
"Private data" is created at this point.
public Generate ( ) : byte[]
return byte[]

SmilGenerator() public method

Prepate a SMIL generator
public SmilGenerator ( string FileRoot, MediaStream SourceStream ) : System
FileRoot string /// Start of the media file name (used by IIS to create archive files). /// This will be appended with bitrate and dot-extension. ///
SourceStream MP4_Mangler.MediaStream
return System

Property Details

_channel protected_oe property

protected int _channel
return int

_fileRoot protected_oe property

protected string _fileRoot
return string

_fourCC protected_oe property

protected string _fourCC
return string

_privateData protected_oe property

protected string _privateData
return string