jv4-demuxer
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "jv4-demuxer", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -17,6 +17,7 @@ import { EventEmitter } from "eventemitter3"; | ||
constructor( | ||
public mode: DemuxMode = DemuxMode.PULL, | ||
public source?: Source | ||
public source?: Source, | ||
public mode: DemuxMode = DemuxMode.PULL | ||
) { | ||
super(); | ||
console.log("Demuxer Created:",Object.getPrototypeOf(this).constructor.name) | ||
if (source) { | ||
@@ -45,3 +46,3 @@ if (mode == DemuxMode.PULL) { | ||
} | ||
abstract demux(): Generator<number, void, Uint8Array>; | ||
abstract demux(): Generator<number | Uint8Array, void, Uint8Array>; | ||
gotAudio?: (data: EncodedAudioChunkInit) => void; | ||
@@ -48,0 +49,0 @@ gotVideo?: (data: EncodedVideoChunkInit) => void; |
export { FlvDemuxer } from "./flv"; | ||
export { PSDemuxer } from "./ps"; | ||
export { DemuxEvent } from "./base"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16250
8
468