avbridge 2.12.1 → 2.13.0
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/CHANGELOG.md +101 -0
- package/README.md +33 -0
- package/dist/{chunk-UM6WCSGL.cjs → chunk-OFJYEITB.cjs} +356 -91
- package/dist/chunk-OFJYEITB.cjs.map +1 -0
- package/dist/{chunk-BN7BRTLY.js → chunk-VOC24LYF.js} +357 -92
- package/dist/chunk-VOC24LYF.js.map +1 -0
- package/dist/element-browser.js +354 -111
- package/dist/element-browser.js.map +1 -1
- package/dist/element.cjs +2 -2
- package/dist/element.js +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.js +1 -1
- package/dist/player.cjs +457 -135
- package/dist/player.cjs.map +1 -1
- package/dist/player.d.cts +35 -4
- package/dist/player.d.ts +35 -4
- package/dist/player.js +457 -135
- package/dist/player.js.map +1 -1
- package/package.json +1 -1
- package/src/element/avbridge-player.ts +136 -28
- package/src/strategies/fallback/audio-output.ts +164 -35
- package/src/strategies/fallback/decoder.ts +336 -58
- package/src/strategies/fallback/video-renderer.ts +176 -34
- package/src/strategies/hybrid/decoder.ts +22 -19
- package/src/strategies/remux/pipeline.ts +12 -3
- package/dist/chunk-BN7BRTLY.js.map +0 -1
- package/dist/chunk-UM6WCSGL.cjs.map +0 -1
package/dist/element.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOFJYEITB_cjs = require('./chunk-OFJYEITB.cjs');
|
|
4
4
|
require('./chunk-WRKO6Q42.cjs');
|
|
5
5
|
require('./chunk-VLI3Y6IJ.cjs');
|
|
6
6
|
require('./chunk-2IJ66NTD.cjs');
|
|
@@ -296,7 +296,7 @@ var AvbridgeVideoElement = class extends HTMLElementCtor {
|
|
|
296
296
|
this._dispatch("loadstart", {});
|
|
297
297
|
let player;
|
|
298
298
|
try {
|
|
299
|
-
player = await
|
|
299
|
+
player = await chunkOFJYEITB_cjs.createPlayer({
|
|
300
300
|
source,
|
|
301
301
|
target: this._videoEl,
|
|
302
302
|
// Honor the consumer's preferred initial strategy. "auto" means
|
package/dist/element.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkE5MAM2P4_cjs = require('./chunk-E5MAM2P4.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkOFJYEITB_cjs = require('./chunk-OFJYEITB.cjs');
|
|
5
5
|
var chunkWRKO6Q42_cjs = require('./chunk-WRKO6Q42.cjs');
|
|
6
6
|
var chunkVLI3Y6IJ_cjs = require('./chunk-VLI3Y6IJ.cjs');
|
|
7
7
|
var chunk2IJ66NTD_cjs = require('./chunk-2IJ66NTD.cjs');
|
|
@@ -763,31 +763,31 @@ Object.defineProperty(exports, "remux", {
|
|
|
763
763
|
});
|
|
764
764
|
Object.defineProperty(exports, "FALLBACK_AUDIO_CODECS", {
|
|
765
765
|
enumerable: true,
|
|
766
|
-
get: function () { return
|
|
766
|
+
get: function () { return chunkOFJYEITB_cjs.FALLBACK_AUDIO_CODECS; }
|
|
767
767
|
});
|
|
768
768
|
Object.defineProperty(exports, "FALLBACK_VIDEO_CODECS", {
|
|
769
769
|
enumerable: true,
|
|
770
|
-
get: function () { return
|
|
770
|
+
get: function () { return chunkOFJYEITB_cjs.FALLBACK_VIDEO_CODECS; }
|
|
771
771
|
});
|
|
772
772
|
Object.defineProperty(exports, "NATIVE_AUDIO_CODECS", {
|
|
773
773
|
enumerable: true,
|
|
774
|
-
get: function () { return
|
|
774
|
+
get: function () { return chunkOFJYEITB_cjs.NATIVE_AUDIO_CODECS; }
|
|
775
775
|
});
|
|
776
776
|
Object.defineProperty(exports, "NATIVE_VIDEO_CODECS", {
|
|
777
777
|
enumerable: true,
|
|
778
|
-
get: function () { return
|
|
778
|
+
get: function () { return chunkOFJYEITB_cjs.NATIVE_VIDEO_CODECS; }
|
|
779
779
|
});
|
|
780
780
|
Object.defineProperty(exports, "UnifiedPlayer", {
|
|
781
781
|
enumerable: true,
|
|
782
|
-
get: function () { return
|
|
782
|
+
get: function () { return chunkOFJYEITB_cjs.UnifiedPlayer; }
|
|
783
783
|
});
|
|
784
784
|
Object.defineProperty(exports, "classify", {
|
|
785
785
|
enumerable: true,
|
|
786
|
-
get: function () { return
|
|
786
|
+
get: function () { return chunkOFJYEITB_cjs.classifyContext; }
|
|
787
787
|
});
|
|
788
788
|
Object.defineProperty(exports, "createPlayer", {
|
|
789
789
|
enumerable: true,
|
|
790
|
-
get: function () { return
|
|
790
|
+
get: function () { return chunkOFJYEITB_cjs.createPlayer; }
|
|
791
791
|
});
|
|
792
792
|
Object.defineProperty(exports, "srtToVtt", {
|
|
793
793
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mimeForFormat, generateFilename, createOutputFormat } from './chunk-B76QWPFM.js';
|
|
2
2
|
export { remux } from './chunk-B76QWPFM.js';
|
|
3
|
-
export { FALLBACK_AUDIO_CODECS, FALLBACK_VIDEO_CODECS, NATIVE_AUDIO_CODECS, NATIVE_VIDEO_CODECS, UnifiedPlayer, classifyContext as classify, createPlayer } from './chunk-
|
|
3
|
+
export { FALLBACK_AUDIO_CODECS, FALLBACK_VIDEO_CODECS, NATIVE_AUDIO_CODECS, NATIVE_VIDEO_CODECS, UnifiedPlayer, classifyContext as classify, createPlayer } from './chunk-VOC24LYF.js';
|
|
4
4
|
export { srtToVtt } from './chunk-EDDWAN2L.js';
|
|
5
5
|
import { probe, buildMediabunnySourceFromInput } from './chunk-5CX7BVVV.js';
|
|
6
6
|
export { probe } from './chunk-5CX7BVVV.js';
|