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.7 to 1.0.8

2

package.json
{
"name": "jv4-demuxer",
"version": "1.0.7",
"version": "1.0.8",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",

@@ -65,13 +65,20 @@ import { BaseDemuxer, DemuxEvent, DemuxMode } from "./base";

this.audioDecoderConfig.sampleRate = samplingFrequencyIndexMap[((data[2] & 0x7) << 1) | (data[3] >> 7)];
} else {
this.emit(
DemuxEvent.AUDIO_ENCODER_CONFIG_CHANGED,
this.audioDecoderConfig
);
}
}
if (this.audioDecoderConfig.codec == "aac" && data[1] == 0x00) {
this.audioDecoderConfig.description = data.subarray(2);
this.emit(
DemuxEvent.AUDIO_ENCODER_CONFIG_CHANGED,
this.audioDecoderConfig
);
if (this.mode == DemuxMode.PULL)
return this.pull();
else return;
if (this.audioDecoderConfig.codec == "aac") {
if (data[1] == 0x00) {
this.audioDecoderConfig.description = data.subarray(2);
this.emit(
DemuxEvent.AUDIO_ENCODER_CONFIG_CHANGED,
this.audioDecoderConfig
);
if (this.mode == DemuxMode.PULL)
return this.pull();
else return;
}
}

@@ -78,0 +85,0 @@ return this.gotAudio?.({

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