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.

Not working on iOS 11

See original GitHub issue

When try to record on iOS 11, I get the following error log:

[Error] Missing analyticsSettings in Meteor.settings.public
	(anonymous function) (modules.js:53087)
	analyticsStartup (okgrow_analytics.js:418)
[Warning] URL.createObjectURL(stream) is deprecated, please use elem.srcObject = stream instead. (modules.js, line 53087)
[Log] started recording video stream. (modules.js, line 53087)
[Log] Using recorderType: – "WhammyRecorder" (modules.js, line 53087)
[Log] Using frames-interval: – 1 (modules.js, line 53087)
[Log] canvas resolutions – 336 – "*" – 448 (modules.js, line 53087)
[Log] video width/height – 336 – "*" – 448 (modules.js, line 53087)
[Log] Recorder state changed: – "recording" (modules.js, line 53087)
[Log] Initialized recorderType: – "WhammyRecorder" – "for output-type:" – "video" (modules.js, line 53087)
[Error] Unhandled Promise Rejection: [object DOMError]
	(anonymous function)
	rejectPromise
[Warning] Stopped recording video stream. (modules.js, line 53087)
[Log] Recorder state changed: – "stopped" (modules.js, line 53087)
[Error] InvalidCharacterError (DOM Exception 5): The string contains invalid characters. (blob:https://12a86d15.ngrok.io/8e98ba37-2dc0-4c74-861d-ee1feb8d71a3, line 317)

Also the video always opens in fullscreen, so the user can’t press on stop.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
petrbelacommented, Jun 7, 2020

@john-landgrave iOS 11+ supports getUserMedia, MediaStream, and related APIs needed for WebRTC.

However, for local recording, there’s a separate class called MediaRecorder. It’s been available in Safari since Jan 2019 in preview but, as of today, it is still “Experimental” and users need to turn it on in Safari settings. It applies to both desktop Safari on Mac and mobile Safari on iOS.

Bottom line, unless you can tell your users to go change their browser settings, recording a video is not natively supported by Safari. RecordRTC has an alternative recorder called WhammyRecorder which circumvents the native APIs by hacking the stream through a canvas, but unfortunately, it doesn’t currently work on Safari (mobile or desktop) as mentioned in the beginning of this issue and in https://github.com/muaz-khan/RecordRTC/issues/380

0reactions
john-landgravecommented, Jun 7, 2020

Thanks @petrbela , definitely appreciate the detailed response!

Read more comments on GitHub >

github_iconTop Results From Across the Web

If your iPhone or iPad won't update - Apple Support
If you can't install iOS 16 or iPadOS 16.1 on your iPhone or iPad · Your device doesn't support the latest software ·...
Read more >
iOS 11 problems and fixes - Macworld
We run through all the issues and bugs with iOS 11 and offer fixes where available.
Read more >
The Most Common iOS 11 Problems, and How to Fix Them
Problem: Control Center buttons are freezing · Issue: Device overheating · Problem: Trouble connecting to Wi-Fi · Problem: Apps won't work in iOS ......
Read more >
iOS 11 iMessage Not Working on iPhone and iPad? Fixed Here!
10 tips to fix iOS 11 iMessage not working on iPhone and iPad · 1. Check the Apple's iMessage server is down or...
Read more >
How to fix problems with iOS 11 on your iPhone or iPad
Tap the Settings app. Tap the General settings menu, and scroll all the way down to Reset All Settings. Enter your passcode to...
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