TransmuxerInterface
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
frag: * |
|
public |
hls: * |
|
public |
id: * |
|
public |
observer: * |
|
public |
onFlush: * |
|
public |
|
|
public |
onwmsg: * |
|
public |
part: * |
|
public |
transmuxer: * |
|
public |
worker: * |
Method Summary
Public Methods | ||
public |
configureTransmuxer(config: TransmuxConfig, state: TransmuxState) |
|
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: Uint8Array, 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 hls: * source
public id: * source
public observer: * source
public onFlush: * source
public onTransmuxComplete: * source
public onwmsg: * source
public part: * source
public transmuxer: * source
public worker: * source
Public Methods
public configureTransmuxer(config: TransmuxConfig, state: TransmuxState) source
Params:
Name | Type | Attribute | Description |
config | TransmuxConfig | ||
state | TransmuxState |
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: Uint8Array, 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 | Uint8Array | ||
audioCodec | undefined | ||
videoCodec | undefined | ||
frag | Fragment | ||
part | undefined | ||
duration | number | ||
accurateTimeOffset | boolean | ||
chunkMeta | ChunkMetadata | ||
defaultInitPTS | number |