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

webm-muxer

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webm-muxer - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

18

build/webm-muxer.d.ts

@@ -17,16 +17,12 @@ declare interface WebMMuxerOptions {

declare class WebMMuxer {
constructor(options: WebMMuxerOptions);
addVideoChunk(chunk: EncodedVideoChunk, meta: EncodedVideoChunkMetadata, timestamp?: number): void;
addAudioChunk(chunk: EncodedAudioChunk, meta: EncodedAudioChunkMetadata, timestamp?: number): void;
finalize(): ArrayBuffer | null;
}
type WebMMuxerClass = typeof WebMMuxer;
declare global {
var WebMMuxer: WebMMuxerClass;
class WebMMuxer {
constructor(options: WebMMuxerOptions);
addVideoChunk(chunk: EncodedVideoChunk, meta: EncodedVideoChunkMetadata, timestamp?: number): void;
addAudioChunk(chunk: EncodedAudioChunk, meta: EncodedAudioChunkMetadata, timestamp?: number): void;
finalize(): ArrayBuffer | null;
}
}
export = WebMMuxer;
{
"name": "webm-muxer",
"version": "1.0.4",
"version": "1.0.5",
"description": "WebM multiplexer in pure TypeScript for use with WebCodecs API, video & audio.",

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

@@ -1,6 +0,9 @@

# webm-muxer - In-browser WebM multiplexer
# webm-muxer - JavaScript WebM multiplexer
![](https://img.shields.io/npm/v/webm-muxer)
![](https://img.shields.io/bundlephobia/minzip/webm-muxer)
The WebCodecs API provides low-level access to media codecs, but provides no way of actually packaging (multiplexing)
the encoded media into a playable file. This project implements a WebM multiplexer in pure TypeScript, which is
high-quality, fast and tiny (3.6 kB minified + gzipped), and supports both video and audio.
high-quality, fast and tiny, and supports both video and audio.

@@ -7,0 +10,0 @@ [Demo](https://vanilagy.github.io/webm-muxer/demo/)

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