C# Class HCS_Encoder.Outputs.SmoothStream.IisSmoothPush

Class for pushing MP4f files to the IIS Live Smooth Streaming snap-in
Afficher le fichier Open project: i-e-b/HLS---Smooth-Encoder Class Usage Examples

Protected Properties

Свойство Type Description
pointName string

Méthodes publiques

Méthode 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

Méthode Description
WakeIIS ( ) : void

Method Details

Close() public méthode

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

Connect() public méthode

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
Résultat Stream

IisSmoothPush() public méthode

public IisSmoothPush ( Uri Destination ) : System
Destination System.Uri
Résultat System

IsConnected() public méthode

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

PushData() public méthode

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

Property Details

pointName protected_oe property

protected string pointName
Résultat string