C# Class HCS_Encoder.Outputs.SmoothStream.IisSmoothPush

Class for pushing MP4f files to the IIS Live Smooth Streaming snap-in
ファイルを表示 Open project: i-e-b/HLS---Smooth-Encoder Class Usage Examples

Protected Properties

Property Type Description
pointName string

Public Methods

Method Description
Close ( ) : void

Close all streams. Only do this once all fragments have been pushed.

Connect ( int StreamId ) : Stream

Try to connect to the host server. Call this method first. Throws exceptions on failure. After a sucessful call ypu may start sending data chunks.

IisSmoothPush ( Uri Destination ) : System
IsConnected ( int StreamId ) : bool

Returns true if the given stream/track ID has a connection open.

PushData ( int StreamId, byte Data ) : void

Push a chunk of raw data to the connected server

Private Methods

Method Description
WakeIIS ( ) : void

Method Details

Close() public method

Close all streams. Only do this once all fragments have been pushed.
public Close ( ) : void
return void

Connect() public method

Try to connect to the host server. Call this method first. Throws exceptions on failure. After a sucessful call ypu may start sending data chunks.
public Connect ( int StreamId ) : Stream
StreamId int
return Stream

IisSmoothPush() public method

public IisSmoothPush ( Uri Destination ) : System
Destination System.Uri
return System

IsConnected() public method

Returns true if the given stream/track ID has a connection open.
public IsConnected ( int StreamId ) : bool
StreamId int
return bool

PushData() public method

Push a chunk of raw data to the connected server
public PushData ( int StreamId, byte Data ) : void
StreamId int
Data byte
return void

Property Details

pointName protected_oe property

protected string pointName
return string