Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jv4-demuxer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jv4-demuxer - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

src/ps.ts

2

package.json
{
"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";
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc