Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moodle-qtype_recordrtc and iOS compatibility #16

Open
acquaalta opened this issue Sep 28, 2022 · 2 comments
Open

moodle-qtype_recordrtc and iOS compatibility #16

acquaalta opened this issue Sep 28, 2022 · 2 comments

Comments

@acquaalta
Copy link

Moodle version: 3.11.
Plugin version: 1.5 for Moodle 3.11+ (2022011200)

Hi,
I have an iPhone XR with iOS 16, and I succeeded submitting an audio answer using the plugin.
However, when trying to submit a video question, the camera video feed is not presented in the mobile browser in real-time and also no video is recorded. Also, when stoping the alleged recording, an "Upload failed" message is shown.
I tried it with both Safari Mobile and Chrome mobile, and the results are the same. I guess it's an OS issue and not a browser issue, so that's not surprising.

After investigating a little bit I already know that this plugin use the WebRTC and is based on RecordRTC feature for the Atto editor (https://docs.moodle.org/311/en/RecordRTC). And from some of the comments in the plugin page it's clear that iOS has issues with the WebRTC protocol.

However, it's still not clear to me:

  1. Why the audio answer could be recorded and the video could not?
  2. Are there any new developments regarding the support of iOS for WebRTC? Is there any hope? :-)

Thanks

@timhunt
Copy link
Member

timhunt commented Sep 28, 2022

The cynical answer is that Apple has a business module around people developing and setting apps. Therefore, Apple is reluctant to support open web standards like WebRTC. This is a big pain. We did a work-around for audio, but we don't have a big need for video, so we have not done anything about that yet.

@acquaalta
Copy link
Author

Thanks a lot, @timhunt, for the very quick answer :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants