mediabunny 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mediabunny.js +2 -2
- package/dist/mediabunny.min.js +3 -3
- package/dist/mediabunny.min.mjs +4 -4
- package/dist/mediabunny.mjs +2 -2
- package/package.json +1 -1
package/dist/mediabunny.js
CHANGED
|
@@ -10293,7 +10293,7 @@ ${cue.notes ?? ""}`;
|
|
|
10293
10293
|
const support = await VideoEncoder.isConfigSupported(encoderConfig);
|
|
10294
10294
|
if (!support.supported) {
|
|
10295
10295
|
throw new Error(
|
|
10296
|
-
|
|
10296
|
+
`This specific encoder configuration (${encoderConfig.codec}, ${encoderConfig.bitrate} bps, ${encoderConfig.width}x${encoderConfig.height}) is not supported by this browser. Consider using another codec or changing your video parameters.`
|
|
10297
10297
|
);
|
|
10298
10298
|
}
|
|
10299
10299
|
this.encoder = new VideoEncoder({
|
|
@@ -10688,7 +10688,7 @@ ${cue.notes ?? ""}`;
|
|
|
10688
10688
|
const support = await AudioEncoder.isConfigSupported(encoderConfig);
|
|
10689
10689
|
if (!support.supported) {
|
|
10690
10690
|
throw new Error(
|
|
10691
|
-
|
|
10691
|
+
`This specific encoder configuration (${encoderConfig.codec}, ${encoderConfig.bitrate} bps, ${encoderConfig.numberOfChannels} channels, ${encoderConfig.sampleRate} Hz) is not supported by this browser. Consider using another codec or changing your audio parameters.`
|
|
10692
10692
|
);
|
|
10693
10693
|
}
|
|
10694
10694
|
this.encoder = new AudioEncoder({
|