C# Class HCS_Encoder.Outputs.SmoothStream.IisPointCreator

Generates and uploads ISML files to the given Uri. Uses WebDAV, which must be enabled on the receiving server.
The .isml file is placed in the web directory, and controls a publish point.
Mostra file Open project: i-e-b/HLS---Smooth-Encoder Class Usage Examples

Protected Properties

Property Type Description
autoResetEvent System.Threading.AutoResetEvent

Public Methods

Method Description
CreatePoint ( ) : void

Tries to write a publishing point to the destination server, first by FTP then by WebDAV.

CreatePoint_FTP ( ) : void

Write the file to the destination server, using FTP (if WebDAV isn't available)

CreatePoint_WebDAV ( ) : void

Write the file to the destination server.

IisPointCreator ( Uri Destination, string PointName ) : System

Prepare a SMIL generator for the given Uri and Point name. The Uri must have the correct username and password specified, in the form http://user:[email protected]/Path/

Protected Methods

Method Description
c_UploadComplete ( int statusCode, object state ) : void

Private Methods

Method Description
Generate ( ) : byte[]

Create a SMIL document with the details provided.

WriteMeta ( XmlWriter xml, string name, string value ) : void

Method Details

CreatePoint() public method

Tries to write a publishing point to the destination server, first by FTP then by WebDAV.
public CreatePoint ( ) : void
return void

CreatePoint_FTP() public method

Write the file to the destination server, using FTP (if WebDAV isn't available)
public CreatePoint_FTP ( ) : void
return void

CreatePoint_WebDAV() public method

Write the file to the destination server.
public CreatePoint_WebDAV ( ) : void
return void

IisPointCreator() public method

Prepare a SMIL generator for the given Uri and Point name. The Uri must have the correct username and password specified, in the form http://user:[email protected]/Path/
public IisPointCreator ( Uri Destination, string PointName ) : System
Destination System.Uri
PointName string
return System

c_UploadComplete() protected method

protected c_UploadComplete ( int statusCode, object state ) : void
statusCode int
state object
return void

Property Details

autoResetEvent protected_oe property

protected AutoResetEvent,System.Threading autoResetEvent
return System.Threading.AutoResetEvent