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
0
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 5.1.5 to 5.2.0

5

build/mp4-muxer.d.ts

@@ -102,2 +102,7 @@ declare type TransformationMatrix = [number, number, number, number, number, number, number, number, number];

firstTimestampBehavior?: 'strict' | 'offset' | 'cross-track-offset'
/**
* The minimum duration of each fragment in seconds. Only applicable when `fastStart` is set to `'fragmented'`.
*/
minFragmentDuration?: number
};

@@ -104,0 +109,0 @@

2

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

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

@@ -116,5 +116,9 @@ # mp4-muxer - JavaScript MP4 multiplexer

| 'fragmented'
| { expectedVideoChunks?: number, expectedAudioChunks?: number }
| { expectedVideoChunks?: number, expectedAudioChunks?: number },
firstTimestampBehavior?: 'strict' | 'offset' | 'cross-track-offset'
firstTimestampBehavior?: 'strict' | 'offset' | 'cross-track-offset',
// The minimum duration of each fragment in seconds. Only applicable when
// `fastStart` is set to `'fragmented'`. Default is 1.
minFragmentDuration?: number
}

@@ -161,3 +165,5 @@ ```

If you want to use this target for *live-streaming*, i.e. playback before muxing has finished, you also need to set
`fastStart: 'fragmented'`.
`fastStart: 'fragmented'`. Also consider setting `minFragmentDuration` to a value that is appropriate for your use
case and latency requirements (default value is 1 second). A new fragment is emitted when a keyframe is encountered
after the duration of the buffered data has reached `minFragmentDuration` seconds.

@@ -164,0 +170,0 @@ Usage example:

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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