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.

Cannot record video+audio on Safari 11/12/13

See original GitHub issue

Description

Cannot record video/audio on Safari 12.0.3 using the following libraries:

VIDEOJS: Using video.js 7.5.0 with videojs-record 3.4.2 and recordrtc 5.5.4

Steps to reproduce

Just try to record a video using Safari browser

Results

Expected

Record the video correctly

Actual

The video has a small delay (less than 2 seconds) and when I start recording, the video doesn’t stop and I see the error below in the console

Error output

Browser console produces the following:

VIDEOJS: – "ERROR:" – "Your browser does not supports Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder."
(funzione anonima) — video.min.js:12:1481
error — video.min.js:12:2368
dispatcher — video.min.js:12:10365
pe — video.min.js:12:11112
trigger — video.min.js:12:15153
(funzione anonima) — video.min.js:12:193742
n — video.min.js:12:12359
n — video.min.js:12:12359
dispatcher — video.min.js:12:10341

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:34 (16 by maintainers)

github_iconTop GitHub Comments

5reactions
thijstriemstracommented, Apr 2, 2019

Did some testing with Safari iOS 12.2. After enabling MediaRecorder in Experimental Features as described in previous comment, results for online demos are:

  • audio-only: record/playback worked, no glitches
  • screen-only: error: navigator.mediaDevices.getDisplayMedia is not a function (as expected)
  • image-only: worked ok, except the captured image is skewed when displaying
  • video-only: recording is fine, but recorded blob is not loaded, stays on the video preview screen. no errors logged.
  • audio-video: recording seems ok but no record complete callback after pressing stop, log ends with:
[Log] Stopped recording video stream. (RecordRTC.js, line 125)
[Log] Recorder state changed: – "stopped" (RecordRTC.js, line 705)
3reactions
thijstriemstracommented, Aug 12, 2020

in this moment the only way for record in IOS is enable experimental feature for MediaRecorderAPI?

Yes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 11/12/13/14/15 Screen Recorder No Sound? Fix In 6 ...
So, when you find yourself in iPhone screen recorder no sound issue, try to turn on the microphone audio first. Swipe up to...
Read more >
Easy Fix iPhone Screen Recording No Sound in iOS 15, 14 ...
Solution 1: Turn on your microphone audio. iPhone screen recorder won't capture the audio of the video you are trying to record if...
Read more >
Record a video from safari playing on my mac
Hi, I have an exercise video playing from safari on my Mac. I want to record this video with sound so I can...
Read more >
How to Fix QuickTime Player Screen Recording Not Working
5 Solutions to Fix QuickTime Screen Recording Not Working on Mac ... QuickTime is the media player built-in Mac OS X/11/12/13.
Read more >
Troubleshooting camera & microphone access in Safari on ...
In order to record a video with Vocal Video, subjects must enable ... do an audio response and can't get Safari to access...
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