Skip to content

Commit 2c74a38

Browse files
abobadalecurtis
authored andcommitted
Fix HEVC codec string
1 parent 65d7ddf commit 2c74a38

File tree

1 file changed

+1
-1
lines changed
  • samples/encode-decode-worker/js

1 file changed

+1
-1
lines changed

samples/encode-decode-worker/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ document.addEventListener('DOMContentLoaded', async function(event) {
255255
config.pt = 1;
256256
break;
257257
case "H265":
258-
config.codec = "hvc1.2.4.L123.00"; // Main 10 profile, level 4.1, main Tier
258+
config.codec = "hvc1.1.6.L123.00" // Main profile
259259
config.hevc = { format: "annexb" };
260260
config.pt = 2;
261261
addToEventLog('HEVC Encoding not supported', 'fatal');

0 commit comments

Comments
 (0)