webcodecs-examples 0.1.14 → 0.1.15
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/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -70125,7 +70125,8 @@ class i2 {
|
|
|
70125
70125
|
}), U = new H0({ track: this.videoTrack }), O = new Ju(
|
|
70126
70126
|
o.width,
|
|
70127
70127
|
o.height,
|
|
70128
|
-
o.frameRate || 30
|
|
70128
|
+
o.frameRate || 30,
|
|
70129
|
+
"avc"
|
|
70129
70130
|
), w = new H0({ track: this.audioTrack }), I = new zu(
|
|
70130
70131
|
b,
|
|
70131
70132
|
Math.min(p.channelCount, 2)
|
|
@@ -70255,7 +70256,7 @@ class s2 {
|
|
|
70255
70256
|
}
|
|
70256
70257
|
async handleTrackRequest(o) {
|
|
70257
70258
|
const b = (await o).track;
|
|
70258
|
-
if (b.name === "video" && !this.videoMoqTrack) {
|
|
70259
|
+
if (console.log("Handling track request", b), b.name === "video" && !this.videoMoqTrack) {
|
|
70259
70260
|
this.videoMoqTrack = b;
|
|
70260
70261
|
const R = new H0({ track: this.videoTrack }), g = new ju(this.videoConfig);
|
|
70261
70262
|
R.readable.pipeThrough(g).pipeTo(this.createVideoWriter(this.videoMoqTrack), {
|