C# Class HCS_Encoder.PlaylistWriter

Handles writing playlists for encoded chunks. Writes both uncompressed (Apple standard) and gzip'd (My version)
Exibir arquivo Open project: i-e-b/HLS---Smooth-Encoder Class Usage Examples

Protected Properties

Property Type Description
ChunkIndices List

Public Methods

Method Description
AddChunk ( int index, double duration ) : void

Add a chunk to the playlist and write.

Close ( ) : void

Set the playlist to closed and write the final version

PlaylistWriter ( ) : System

Protected Methods

Method Description
UploadAction ( object o ) : void

Private Methods

Method Description
TransportPlaylist ( ) : void
WritePlaylist ( ) : void

Method Details

AddChunk() public method

Add a chunk to the playlist and write.
public AddChunk ( int index, double duration ) : void
index int
duration double
return void

Close() public method

Set the playlist to closed and write the final version
public Close ( ) : void
return void

PlaylistWriter() public method

public PlaylistWriter ( ) : System
return System

UploadAction() protected method

protected UploadAction ( object o ) : void
o object
return void

Property Details

ChunkIndices protected_oe property

protected List ChunkIndices
return List