Transmuxer
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
config: * |
|
public |
|
|
public |
|
|
public |
demuxer: * |
|
public |
observer: * |
|
public |
probe: * |
|
public |
remuxer: * |
|
public |
|
|
public |
|
|
public |
vendor: * |
Method Summary
Public Methods | ||
public |
configure(transmuxConfig: TransmuxConfig) |
|
public |
configureTransmuxer(data: Uint8Array, transmuxConfig: TransmuxConfig): {"demuxer": *, "remuxer": *} |
|
public |
destroy() |
|
public |
flush(chunkMeta: ChunkMetadata): * |
|
public |
getDecrypter(): * |
|
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, decryptData: Uint8Array, encryptionType: undefined, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): * |
|
public |
transmuxSampleAes(data: Uint8Array, decryptData: undefined, 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: * source
public currentTransmuxState: * source
public decryptionPromise: * source
public demuxer: * source
public observer: * source
public probe: * source
public remuxer: * source
public transmuxConfig: * source
public typeSupported: * source
public vendor: * source
Public Methods
public configure(transmuxConfig: TransmuxConfig) source
Params:
Name | Type | Attribute | Description |
transmuxConfig | TransmuxConfig |
public configureTransmuxer(data: Uint8Array, transmuxConfig: TransmuxConfig): {"demuxer": *, "remuxer": *} source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
transmuxConfig | TransmuxConfig |
Return:
{"demuxer": *, "remuxer": *} |
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, decryptData: Uint8Array, encryptionType: undefined, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): * source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
decryptData | Uint8Array | ||
encryptionType | undefined | ||
timeOffset | number | ||
accurateTimeOffset | boolean | ||
chunkMeta | ChunkMetadata |
Return:
* |
public transmuxSampleAes(data: Uint8Array, decryptData: undefined, timeOffset: number, accurateTimeOffset: boolean, chunkMeta: ChunkMetadata): Promise source
Params:
Name | Type | Attribute | Description |
data | Uint8Array | ||
decryptData | undefined | ||
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 |