Sound recording from website using Chrome for IOS - javascript

So I have a site where I can record the users audio. This works on the following:
Safari
Safari IOS
Chrome Desktop
MS edge Desktop
Safari Desktop
Etc...
More or less every device however when using the chrome browser on an iPhone I am unable to get access to the microphone.
Does anyone know why? Is there a limitation on this specific app on iOS?

You can use your microphone for features in Chrome, like Voice Search.
On your iPhone or iPad, open the Chrome app.
Go to a site that wants to use your microphone.
When prompted, tap Allow or Block.
If you’ve turned off microphone or camera access, you can turn on your
mic or camera permissions in your device settings.
From official chrome help center.

Related

Facing audio issues in Safari and Iphone with Custom Bot

Sound is not playing in chat bot web application in iOS , chrome and Safari browser.
We are not using any browser specific code. We have added below listener and using audio.play() for sound notification.
Also in Mac Safari browser , we had the same issue with sound and we have enabled Auto play and it worked. According to the below reference , in iOS it is blocking the Auto play feature from version 11.0 Allowing Autoplay in Safari - Apple Community
Sound is working perfectly in Chrome browser for Android , Windows and Mac except iOS. Is it because of any security features which is blocking the audio ? Can you please help me to figure out the reason for this behavior?

How to turn off connected mac book web cam and cam led light in safari browser?

I am trying to turn off the connected MacBook webcam and cam-led lighting safari browser.
Here is my code
myStream[0].getVideoTracks().forEach(track => track.stop())
It works on Chrome but doesn't in Safari.
How do you turn off the green light of the webcam?
I looked at this part:
https://developer.mozilla.org/ko/docs/Web/API/MediaStreamTrack/stop
We can't turn off mac webcam greenlight manually if the webcam isn't turned off anymore according to apple's new policy. It will turn off if the webcam is not in use
I believe the green light of the webcam is hardware controlled and not software controlled on latest MacBook.
Some additional information here https://apple.stackexchange.com/questions/313504/does-a-modern-macbooks-green-camera-light-always-turn-on-when-the-camera-is-a/396129

Webrtc IOS Safari, Enable Torch

I am trying to get a online camera app working. I would like to know if IOS has any possibility of getting the Flash or Torch triggered from the browser. I dont believe that webrtc torch is supported on IOS. Would there be any alternatives to trigger the flash/torch through extensions or any other means that anyone here is aware of.
Thanks

Log console messages of a website when opened in safari of iphone

I have a website made in Javascript and HTML5
Hardware and software that I have
iPhone 4 (iOS 7)
Windows 7
In JS I have written some console message using Google console API.
When I open the website in safari in Windows 7, I can easily see the messages in console of developer tools, but when I open the website in safari in ios 7 in iphone, I can't see them. Is there a way I can see my console messages somewhere.
If there is tool please let me know which can help?
You can achieve this debugging using Safari for OSX with a connected iPhone.
Safari for OSX has a develop menu (which you can enable by going to preferences->advanced->Show develop menu).
From this develop menu if you have an iPhone connected to your mac via USB you will see the phone listed. If safari is open on your phone, it will list "Safari" as a debugable mobile application.
From here, you can open websites on your phone and display the web inspector on safari which will display debug information of the page you loaded on your iPhone
For the web application that are made in JavaScript and HTML5, they can be debugged remotely using the tools that are available in the market/web for free, please find the list below
jsconsole
Aardwolf
Both these tools are very helpful in remotely debugging the web application running on ios or Android.

How to connect to iPhone's webkit debugger?

new iOS 6 feature is, that you can debug html and javascript running on device or simulator in desktop safari. I suppose, that this feature is based on Webkit Remote Debugging Protocol.
How can I connect to webkit running on iPhone without desktop Safari?
I can do this for mobile Chrome running on Android using websockets, but how can I do that for iOS devices?
The ios-webkit-debug-proxy project (from Google!) does this.
You want to look at this code https://github.com/leftlogic/remote-debug/tree/master/safari - although it fails when it actually comes to RPC calls that use __rpc_forwardSocketData.
If you've got any ideas why several of us are interested!
You need to open up the iPhone Simulator and browse to a website.
Then open Safari and choose "Develop" from the menubar. There is a the option called "iPhone Simulator".
If you hover over this you can see all of the open websites of the simulator.
This gives you the same inspector Safari uses. You can even see hovered elements in the iPhone Simulator.

Categories