webm-muxer
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "webm-muxer", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "WebM multiplexer in pure TypeScript for use with WebCodecs API, video & audio.", | ||
@@ -5,0 +5,0 @@ "main": "./build/webm-muxer.js", |
@@ -44,7 +44,7 @@ # webm-muxer - JavaScript WebM multiplexer | ||
interface WebMMuxerOptions { | ||
// When 'buffer' is used, the muxed file is written to a buffer in memory. | ||
// When a FileSystemWritableFileStream acquired through the File System | ||
// Access API (see example below) is used, the muxed file is written | ||
// directly to disk, allowing for files way larger than what would fit | ||
// in RAM. | ||
// When 'buffer' is used, the muxed file is written to a buffer in | ||
// memory. When a FileSystemWritableFileStream acquired through | ||
// the File System Access API (see example below) is used, the | ||
// muxed file is written directly to disk, allowing for files way | ||
// larger than what would fit in RAM. | ||
target: 'buffer' | FileSystemWritableFileStream, | ||
@@ -69,4 +69,4 @@ video?: { | ||
```js | ||
// Create a muxer with a video track running the VP9 codec, and no audio track. | ||
// The muxed file is written to a buffer in memory. | ||
// Create a muxer with a video track running the VP9 codec, and no | ||
// audio track. The muxed file is written to a buffer in memory. | ||
let muxer1 = new WebMMuxer({ | ||
@@ -81,5 +81,5 @@ target: 'buffer', | ||
// Create a muxer with a video track running the VP9 codec, and an audio track | ||
// running the Opus codec. The muxed file is written directly to a file on disk, | ||
// using the File System Access API. | ||
// Create a muxer with a video track running the VP9 codec, and an | ||
// audio track running the Opus codec. The muxed file is written | ||
// directly to a file on disk, using the File System Access API. | ||
let fileHandle = await window.showSaveFilePicker({ | ||
@@ -108,4 +108,4 @@ suggestedName: `video.webm`, | ||
// Create a muxer running only an Opus-coded audio track, and no video. Writes | ||
// to a buffer in memory. | ||
// Create a muxer running only an Opus-coded audio track, and | ||
// no video. Writes to a buffer in memory. | ||
let muxer3 = new WebMMuxer({ | ||
@@ -140,4 +140,4 @@ target: 'buffer', | ||
Should you have obtained your encoded media data from a source other than the WebCodecs API, you can use these following methods | ||
to directly send your raw data to the muxer: | ||
Should you have obtained your encoded media data from a source other than the WebCodecs API, you can use these following | ||
methods to directly send your raw data to the muxer: | ||
```ts | ||
@@ -144,0 +144,0 @@ addVideoChunkRaw( |
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