TransmuxerInterface
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
frag: * |
|
public |
|
|
public |
id: PlaylistLevelType |
|
public |
observer: HlsEventEmitter |
|
public |
onFlush: * |
|
public |
|
|
public |
|
|
public |
part: * |
|
public |
transmuxer: * |
|
public |
worker: * |
Method Summary
Public Methods | ||
public |
configureTransmuxer(config: TransmuxConfig) |
|
public |
destroy() |
|
public |
flush(chunkMeta: ChunkMetadata) |
|
public |
handleFlushResult(results: Array, chunkMeta: ChunkMetadata) |
|
public |
handleTransmuxComplete(result: TransmuxerResult) |
|
public |
onWorkerMessage(ev: undefined) |
|
public |
push(data: ArrayBuffer, initSegmentData: undefined, audioCodec: undefined, videoCodec: undefined, frag: Fragment, part: undefined, duration: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata, defaultInitPTS: number) |
Public Constructors
public constructor() source
Public Members
public frag: * source
public id: PlaylistLevelType source
public observer: HlsEventEmitter source
public onFlush: * source
public onTransmuxComplete: * source
public part: * source
public transmuxer: * source
public worker: * source
Public Methods
public configureTransmuxer(config: TransmuxConfig) source
Params:
Name | Type | Attribute | Description |
config | TransmuxConfig |
public destroy() source
public flush(chunkMeta: ChunkMetadata) source
Params:
Name | Type | Attribute | Description |
chunkMeta | ChunkMetadata |
public handleFlushResult(results: Array, chunkMeta: ChunkMetadata) source
Params:
Name | Type | Attribute | Description |
results | Array | ||
chunkMeta | ChunkMetadata |
public handleTransmuxComplete(result: TransmuxerResult) source
Params:
Name | Type | Attribute | Description |
result | TransmuxerResult |
public push(data: ArrayBuffer, initSegmentData: undefined, audioCodec: undefined, videoCodec: undefined, frag: Fragment, part: undefined, duration: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata, defaultInitPTS: number) source
Params:
Name | Type | Attribute | Description |
data | ArrayBuffer | ||
initSegmentData | undefined | ||
audioCodec | undefined | ||
videoCodec | undefined | ||
frag | Fragment | ||
part | undefined | ||
duration | number | ||
accurateTimeOffset | boolean | ||
chunkMeta | ChunkMetadata | ||
defaultInitPTS | number |