Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chunk ¶
type Chunk struct {
// contains filtered or unexported fields
}
Chunk Chunk class
func (*Chunk) InitializeChunk ¶
InitializeChunk Initializes chunk
type Options ¶
type Options struct { Log *logrus.Logger OutputType OutputTypes LHLS bool EstimatedDurationS float64 FileNumberLength int GhostPrefix string FileExtension string BasePath string ChunkBaseFilename string HTTPUploader *httpuploader.HTTPUploader S3Uploader *s3uploader.S3Uploader }
Options Chunking options
type OutputTypes ¶
type OutputTypes int
OutputTypes indicates the manifest type
const ( // ChunkOutputModeNone No no write data ChunkOutputModeNone OutputTypes = iota // ChunkOutputModeFile Saves chunks to file ChunkOutputModeFile // ChunkOutputModeHTTPChunkedTransfer chunks to chunked streaming server ChunkOutputModeHTTPChunkedTransfer // ChunkOutputModeHTTPRegular chunks to chunked streaming server ChunkOutputModeHTTPRegular // ChunkOutputModeS3 chunks to S3 ChunkOutputModeS3 )
Click to show internal directories.
Click to hide internal directories.