🎥 Make videos programmatically with React
Update get-codec-string.ts
Jonny Burger298f12a09a29
diff --git a/packages/webcodecs/src/get-codec-string.ts b/packages/webcodecs/src/get-codec-string.tsindex 829cad8ad8..9316f55422 100644--- a/packages/webcodecs/src/get-codec-string.ts+++ b/packages/webcodecs/src/get-codec-string.ts@@ -13,10 +13,8 @@ export const getCodecStringForEncoder = ({height: number;width: number;}) => {- console.log(chooseCorrectAvc1Profile({fps, height, width}));if (codec === 'h264') {- return 'avc1.640033';- // return chooseCorrectAvc1Profile({fps, height, width});+ return chooseCorrectAvc1Profile({fps, height, width}); // return chooseCorrectAvc1Profile({fps, height, width});}if (codec === 'h265') {