webm-muxer
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -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/) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32787
167
625