Implement @mediabunny/prores extension, add onError callbacks to custom coders, fix visibleRect bug in VideoSample

This commit is contained in:
Vanilagy
2026-06-29 17:15:10 +02:00
parent af618f014a
commit 8ae0f9d09e
42 changed files with 1074 additions and 451 deletions
+4
View File
@@ -375,6 +375,7 @@ export class NodeAvVideoEncoder extends CustomVideoEncoder {
hevcCodecInfo: null,
vp9CodecInfo: null,
av1CodecInfo: null,
proresFormat: null,
});
if (!expectsAnnexB) {
@@ -450,6 +451,7 @@ export class NodeAvVideoEncoder extends CustomVideoEncoder {
hevcCodecInfo: null,
vp9CodecInfo: null,
av1CodecInfo: null,
proresFormat: null,
});
}
} else if (this.codec === 'vp9') {
@@ -467,6 +469,7 @@ export class NodeAvVideoEncoder extends CustomVideoEncoder {
hevcCodecInfo: null,
vp9CodecInfo,
av1CodecInfo: null,
proresFormat: null,
});
}
} else if (this.codec === 'av1') {
@@ -484,6 +487,7 @@ export class NodeAvVideoEncoder extends CustomVideoEncoder {
hevcCodecInfo: null,
vp9CodecInfo: null,
av1CodecInfo,
proresFormat: null,
});
}
} else {