🎥 Make videos programmatically with React
deprecation warning
Jonny Burgera017890f7731
diff --git a/packages/core/src/config/codec.ts b/packages/core/src/config/codec.tsindex aa2cfa7356..06eff711a4 100644--- a/packages/core/src/config/codec.ts+++ b/packages/core/src/config/codec.ts@@ -51,6 +51,9 @@ export const setOutputFormat = (newLegacyFormat: LegacyFormat) => {)}, but got ${newLegacyFormat}`);}+ console.warn(+ 'setOutputFormat() is deprecated. Use the more powerful setCodec() instead.'+ );if (newLegacyFormat === 'mp4') {codec = 'h264';return;