Property | Type | Description | |
---|---|---|---|
ConnectAndPushHeaders | void | ||
PreparePointCreator | |||
PreparePublishingPoint | void | ||
PrepareTransformer | void | ||
PushStream | void | ||
SanitiseStream | void | ||
Transform | void |
Method | Description | |
---|---|---|
ChunkTransformer ( EncoderConfiguration Configuration, bool pubPointCreationIsOptional ) : System |
Create a new chunk transformer. Will try to create a new IIS Live Smooth Streaming publishing point matching the configuration settings. Will try both WebDAV and FTP. If neither are not correctly enabled on the destination server, the point must already exist.
|
|
Close ( ) : void |
Shut down the streams and close connections.
|
|
ConsumeChunk ( int ChunkIndex, int StreamIndex, string FilePath, double chunkDuration ) : void | ||
GetStreamMappingType ( ) : StreamMapping | ||
OnFileConsumed ( object sender, System.IO.FileEventArgs args ) : void | ||
Prepare ( List |
Method | Description | |
---|---|---|
UploadAction ( object o ) : void |
Method | Description | |
---|---|---|
ConnectAndPushHeaders ( |
Used once per connection, this opens a long-life HTTP stream and pushes the very basic MP4 parts needed to get IIS working.
|
|
PreparePointCreator ( string dest_root ) : |
||
PreparePublishingPoint ( EncoderConfiguration Configuration ) : void | ||
PrepareTransformer ( EncoderConfiguration Configuration, List |
Read the supplied configuration and prepare the transformer for work.
|
|
PushStream ( |
Pushes a set of frames to IIS. Will trigger a connect if needed.
|
|
SanitiseStream ( |
Remove any frames with zero length. Zero length frames kill the live stream.
|
|
Transform ( string SourceFile, int StreamIndex, int ChunkIndex ) : void |
Transform an MPEG-TS file into a MP4f file. This all needs to be stripped out and each stream needs it's own IisSmoothPush connection.
|
public ChunkTransformer ( EncoderConfiguration Configuration, bool pubPointCreationIsOptional ) : System | ||
Configuration | EncoderConfiguration | |
pubPointCreationIsOptional | bool | |
return | System |
public ConsumeChunk ( int ChunkIndex, int StreamIndex, string FilePath, double chunkDuration ) : void | ||
ChunkIndex | int | |
StreamIndex | int | |
FilePath | string | |
chunkDuration | double | |
return | void |
public GetStreamMappingType ( ) : StreamMapping | ||
return | StreamMapping |
public OnFileConsumed ( object sender, System.IO.FileEventArgs args ) : void | ||
sender | object | |
args | System.IO.FileEventArgs | |
return | void |