question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I was hoping to use this for H264 recording support, however upon inspecting the code there’s no way to pass any options when creating the MediaRecorder.

The supported constraints from getUserMedia reports that h264 is not a supported mimeType, however MediaRecorder.isTypeSupported('video/webm;codecs=H264') return true. I think the solution is to provide the video codec to the MediaRecorder constructor.

See here: https://gist.github.com/kkm/60ce3479ad35d923bbff6e4e8f5ae25c

Cheers

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
0x006Fcommented, Nov 22, 2019

Added ability to pass mediaRecorderOptions via c09f8327f863ba79699c8f7ba2eaa522942b55c6

1reaction
deevuscommented, Jan 23, 2019

I can make a PR if you want

Read more comments on GitHub >

github_iconTop Results From Across the Web

MPEG-4/H.264 video format | Can I use... Support ... - CanIUse
Firefox supports H.264 on Windows 7 and later since version 21. Firefox supports H.264 on Linux since version 26 if the appropriate gstreamer...
Read more >
Advanced Video Coding - Wikipedia
H.264 is typically used for lossy compression, although it is also possible to create truly lossless-coded regions within lossy-coded pictures or to support...
Read more >
What Is H.264? - Streaming Media
H.264 is currently supported by all new Android devices, in Windows Phone 7, in most new BlackBerry Smartphones, and in the HP webOS....
Read more >
WebRTC and the H.264 codec - BlogGeek.me
It is one of the mandatory to implement video codecs in WebRTC, and it is available in all browsers supporting WebRTC. On some...
Read more >
What is H.264 video encoding? - Black Box Network Services
It is designed to support future resolutions up to 8K UHD (8192x4320) compared to the 4K (4092x2160) that the H.264 supports. Some newer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found