New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mp4-muxer

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mp4-muxer - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

14

build/mp4-muxer.d.ts

@@ -63,2 +63,3 @@ /**

/** The file data will be written into a single large buffer, which is then stored in `buffer`. */
declare class ArrayBufferTarget {

@@ -68,2 +69,10 @@ buffer: ArrayBuffer;

/**
* This target defines callbacks that will get called whenever there is new data available - this is useful if
* you want to stream the data, e.g. pipe it somewhere else.
*
* When using `chunked: true` in the options, data created by the muxer will first be accumulated and only written out
* once it has reached sufficient size (~16 MB). This is useful for reducing the total amount of writes, at the cost of
* latency.
*/
declare class StreamTarget {

@@ -77,2 +86,7 @@ constructor(

/**
* This is essentially a wrapper around `StreamTarget` with the intention of simplifying the use of this library with
* the File System Access API. Writing the file directly to disk as it's being created comes with many benefits, such as
* creating files way larger than the available RAM.
*/
declare class FileSystemWritableFileStreamTarget {

@@ -79,0 +93,0 @@ constructor(stream: FileSystemWritableFileStream);

2

build/mp4-muxer.js

@@ -883,2 +883,3 @@ "use strict";

}
/** Finalizes the file, making it ready for use. Must be called after all video and audio chunks have been added. */
finalize() {

@@ -897,2 +898,3 @@ if (__privateGet(this, _videoTrack))

__privateGet(this, _writer).finalize();
__privateSet(this, _finalized, true);
}

@@ -899,0 +901,0 @@ };

2

package.json
{
"name": "mp4-muxer",
"version": "1.0.4",
"version": "1.0.5",
"description": "MP4 multiplexer in pure TypeScript with support for WebCodecs API, video & audio.",

@@ -5,0 +5,0 @@ "main": "./build/mp4-muxer.js",

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