microphone
microphone copied to clipboard
IOS browser not working
On IOS devices we only get an error without message, just line reference to the compiled dart js file. We are ruinning the demo from pub.dev
Hi @flozi00 :)
Thanks for opening the issue!
According to the MediaRecorder
support page, it seems that Safari does not support it.
Potential solution
Can you try https://www.educative.io/edpresso/how-to-enable-the-mediarecorder-api-for-safari?
If that works for you, I could add it to the README. If not, we can search for a workaround, however, there might not be one.
The MediaRecorder won't work in production enviroments. Could you add an alternative for Safari Desktop and mobile ?
@flozi00 I am not sure what you mean with production environments.
I think what I sent you is the way to use MediaRecorder
in Safari. This has nothing to do with the plugin but Safari being behind in support.
If you tell me what else we can use, I appreciate any idea / contribution 🙂 I am not too keen on polyfills, however.
I mean an solution where the end user does not need to change any settings on device. Produktion environment = call the website and use instantly without anything to do on device or settings
@flozi00 I understand, however, this will not be possible without the setting using MediaRecorder
for a while. Sooner or later it will not be experimental anymore and not require a setting.
You are welcome to contribute polyfills 😃
If anyone else is interested in doing so, the same applies of course 🙂
Any updates on this one?
I think safari should support Mediarecorder now
@flozi00 seems like it - can you confirm that the plugin is also working on Safari? Then we could close this issue.
No it doesnt work.
I have found a way to push request on Safari: window.navigator.mediaDevices?.getUserMedia({'audio': true}).then((value) => print(value)); safari prompt the alert but the application wont work as well with this error: Error: Bad state: Not connected to an application.
Any solution or updates about this issue ?
@Unevenn everything is documented in this issue. If you really want this to work, you could try where the approach mentioned by @wytex leads you and if you find a solution, you can create a pull request with an implementation.