Transmuxer
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
config: HlsConfig |
|
public |
|
|
public |
|
|
public |
|
|
public |
demuxer: Demuxer |
|
public |
id: PlaylistLevelType |
|
public |
observer: HlsEventEmitter |
|
public |
|
|
public |
remuxer: Remuxer |
|
public |
|
|
public |
typeSupported: TypeSupported |
|
public |
|
Method Summary
Public Methods | ||
public |
configure(transmuxConfig: TransmuxConfig) |
|
public |
configureTransmuxer(data: Uint8Array, transmuxConfig: TransmuxConfig) |
|
public |
destroy() |
|
public |
flush(chunkMeta: ChunkMetadata): * |
|
public |
flushRemux(transmuxResults: undefined, demuxResult: undefined, chunkMeta: undefined) |
|
public |
|
|
public |
needsProbing(data: Uint8Array, discontinuity: boolean, trackSwitch: boolean): boolean |
|
public |
push(data: ArrayBuffer, decryptdata: undefined, chunkMeta: ChunkMetadata, state: TransmuxState): * |
|
public |
|
|
public |
resetInitSegment(initSegmentData: undefined, audioCodec: undefined, videoCodec: undefined, duration: number) |
|
public |
resetInitialTimestamp(defaultInitPts: undefined) |
|
public |
transmux(data: Uint8Array, keyData: undefined, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): * |
|
public |
transmuxSampleAes(data: Uint8Array, decryptData: KeyData, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): Promise |
|
public |
transmuxUnencrypted(data: Uint8Array, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): TransmuxerResult |
Public Constructors
public constructor() source
Public Members
public cache: ChunkCache source
public config: HlsConfig source
public currentTransmuxState: TransmuxState source
public decryptionPromise: * source
public demuxer: Demuxer source
public id: PlaylistLevelType source
public observer: HlsEventEmitter source
public remuxer: Remuxer source
public transmuxConfig: TransmuxConfig source
public typeSupported: TypeSupported source
Public Methods
public configure(transmuxConfig: TransmuxConfig) source
Params:
Name | Type | Attribute | Description |
transmuxConfig | TransmuxConfig |
public configureTransmuxer(data: Uint8Array, transmuxConfig: TransmuxConfig) source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
transmuxConfig | TransmuxConfig |
public destroy() source
public flush(chunkMeta: ChunkMetadata): * source
Params:
Name | Type | Attribute | Description |
chunkMeta | ChunkMetadata |
Return:
* |
public needsProbing(data: Uint8Array, discontinuity: boolean, trackSwitch: boolean): boolean source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
discontinuity | boolean | ||
trackSwitch | boolean |
public push(data: ArrayBuffer, decryptdata: undefined, chunkMeta: ChunkMetadata, state: TransmuxState): * source
Params:
Name | Type | Attribute | Description |
data | ArrayBuffer | ||
decryptdata | undefined | ||
chunkMeta | ChunkMetadata | ||
state | TransmuxState |
Return:
* |
public resetContiguity() source
public resetInitSegment(initSegmentData: undefined, audioCodec: undefined, videoCodec: undefined, duration: number) source
public resetInitialTimestamp(defaultInitPts: undefined) source
Params:
Name | Type | Attribute | Description |
defaultInitPts | undefined |
public transmux(data: Uint8Array, keyData: undefined, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): * source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
keyData | undefined | ||
timeOffset | number | ||
accurateTimeOffset | boolean | ||
chunkMeta | ChunkMetadata |
Return:
* |
public transmuxSampleAes(data: Uint8Array, decryptData: KeyData, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): Promise source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
decryptData | KeyData | ||
timeOffset | number | ||
accurateTimeOffset | boolean | ||
chunkMeta | ChunkMetadata |
public transmuxUnencrypted(data: Uint8Array, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): TransmuxerResult source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
timeOffset | number | ||
accurateTimeOffset | boolean | ||
chunkMeta | ChunkMetadata |
Return:
TransmuxerResult |