Making WebRTC work in IE/safari - javascript

so i am making a site that takes advantage of the WebRTC(webcam snapshots).
ive been searching for hours, but didnt find a solution that didnt require a third party app install on the windows/OS X installation.
have any of your solved this problem?

As you can see IE/Safari does not support WebRTC: http://caniuse.com/#search=webrtc or http://iswebrtcreadyyet.com/
The only way that you can do it is through a 3rd party plugin, like Skylink or Temasys. But you'll also need something like a polyfill on your JS. In the end, Flash is also another 3rd party plugin.
It seems that Edge has limited support and Safari could get very soon WebRTC support.

Good news, things are about to change.
Safari
Apple announced support for WebRTC in Safari 11.
You can download the latest beta version of Safari 11 at the following link:
(You need to sign in with your Apple ID) https://developer.apple.com/safari/download/
Microsoft Edge
Edge supports webRTC with the help of adapter.js.
Data channels are not yet supported.
According to Microsoft's roadmap, ORTC Data channels are "Under consideration".
Roadmap Priority: Low — We are still evaluating this technology. There
may be significant spec stabilization, foundational work, or
additional community input required before we can begin development.
Internet explorer
As #adrian-ber said, you'll need a 3rd party plugin.

Related

React Native VR - Viro alternatives

I have been using React Viro for 2 years. It was working pretty stable for both Android and iOS. Lastly, Viro dropped official support, moved the repo to the community and from this time it started to be a nightmare. Deprecated APIs, store rejections etc. My hands are tightened as I'm a JavaScript developer thus I can't patch it without spending months on learning new Google Cardboard API and Objective-C stuff.
One of my clients uses VR only so I don't care about AR for now. Do we have any other alternatives (paid one are acceptable)? I'm looking for something stable, up-to-date which will work for the next 2 years. Is there any native port to React Native?
Thanks in advance
I'm in a similar situation, using Viro just for VR and strugling with the issue that Viro is not working on iOS 14.x due to deprecation of Google VR (replaced by Google with Google Cardboard). After several days of research I decided to patch only the iOS 14.x issue since all other OS and versions are working fine with Viro.
My choice is egjs-view360, a web based solution that looks robust. I know is not native (nor React-Native) but after a try I have a working and reliable version.
Sadly, includes:
egjs.view360.
some extra libs from egjs like (PanoController).
web-vr-polyfill to make VR work with Safari.
react-native-web-view to load the player into my app.
and handle motion and orientation permission required by Safari.
Not the ideal solution, however considering the uncertainty moment of VR (old web VR api deprecated, new web XR in draft; Google VR deprecated, Google Cardboard still hard to use with RN), this is an understandable and controllable stack for me.
If anyone in similar situation have another option, I'm eager to know about it.

Speech Recognition In Internet Explorer

I see HTML5 has nice set of JS classes which helps us integrate voice capability to the website (speak to type and speak to command) very easily. However it looks like it mainly for Chrome and managed by Google.
I can't find how to get it working with similar technology for Internet Explorer.
Do anybody have any reference or example link which I can refer?
According to https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#Browser_compatibility they do not support webkitSpeechRecognition.
That is for built in browser support. Now if you would like to pay for this support you could use IBM Bluemix or Google Speech api.
https://www.ibm.com/watson/developercloud/speech-to-text.html OR
https://cloud.google.com/
The speech recognition APIs that you're referring to are indeed new and not fully supported.
They are also not official HTML5 APIs -- they are currently marked as unofficial. That doesn't mean they won't eventually become official APIs, but for now they are just something that Google thought would be a good idea.
You can find info about them on the CanIUse website. As you'll see on this page, they are supported in Chrome and Opera, and also in Firefox, although only as an experimental feature, meaning that the user would have to enable the feature manually in the browser.
More significantly in relation to your question, the page also states that they are "In development" for Microsoft Edge. This means that there is a good chance that they'll be available in Edge in a future release, within a reasonable space of time. They are not available now, and will never be available in IE, as Microsoft are only developing new features for Edge now.
Therefore, if you need to support IE, you will need something else. There is nothing standard or even well-known that I can recommend though.
You can't have this feature in Internet explorer right now. May be in the future they would implement this functionality.Let me give you an example- the link below is by microsoft teams describing the text-to-speech functionality by a demo application. Try running it on Internet Explorer, it won't work. So whoever asks you to achieve this, show this example.
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/speechsynthesis/
They have separated out the code for browsers which doesn't support the speechsynthesis object. Do have a look in the developer tools for better understanding.

Kinect (One) in the browser, the end of NPAPI

Since I read Google's message that NPAPI will no longer be supported by the end of 2014, I've been looking for an alternative. The issue is that we currently use a custom made Kinect Browserplugin which we use to control the browser with JS and control Unity Web Player games with your body.
Without NPAPI support it simply won't work anymore and our work will be lost. Google gives NaCl as an alternative but this doesn't support interaction with hardware.
The main question I have is: How to use the Kinect in a webbased platform and crossbrowser?
Currently we have the "normal" Kinect and the Kinect One from the closed beta working in the browser and Unity Web Player.
Please share your thoughts on a solution.
I apologize in advance for just spewing out links without actually supplying much information, but as far as I know there are no known good alternatives.
If I was in your position, I would have a look at the chrome.usb API or possibly, depending on your use case, node-kinect.
Here's a good general resource/discussion of NPAPI alternatives: Browser Plugins in a post NPAPI world
Probably your best approach at this point is to continue using NPAPI except in Chrome, and in Chrome use native messaging. Of course, Chrome has made it as difficult as they can to install the host that you'll be connecting to, so it'll be a pain and you'll have to install the extension and the host seperately, but there you go.

how to Run Websocket in IE

I have a website where i am using websocket i have to run my website on IE also but IE does not support websocket is there any way to run the websocket on IE?
IE Versions < 10 do not support Websockets, but you can use alternative techniques like flash or ajax-longpolling.
I recommend you to use a Framework so you don't have to take care of all the cross browser issues. A very good framework for this is socket.io
Edit 2017: this should probably not be an issue anymore, since websockets are now basically supported across the board.
You can download the webpage source code that runs in Chrome, Firefox, and IE (at least) via the blog article "Websocket Server Demonstration" from the High Level Logic Project. The webpage is set up for developers.
Make sure you also click and read "(UPDATE: Demo on MSIE)" linke in the article. Following the simple instructions will load the google plugin that will allow you to run up-to-date websockets in IE.

Pocket IE onmousedown onmousemove onmouseup?

I have a control which I wrote for capturing signatures on a web page, by using onmousedown, onmousemove and onmouseup on a div to track the mouse, and capture points comprising a signature.
Now we need this to work on Windows Mobile 6.5 powered devices... but it seems that the div element does not support the mouse events in Pocket IE, which would seem to be supported by this blog.
But according to MSDN, the WinCE (which WinMo/PPC is based off of) version of IE does support these mouse events for some unknown list of elements.
So can anyone tell me, are there any elements: img, a, span or whatever that support onmouse[down|move|up] in WinMo 6.5 Pocket IE?
Thanks!
If not, anyone have any other ideas for capturing a signature on a web page in Pocket IE?
This is apparently not possible; and likely never will be now that MS has essentially EOLd WinMo in favor of the WinPhone OS.
Correspondence with Microsoft via the phasing out of WinMo...
My Email to Microsoft
Hello Soma,
I have 2 questions for your expertise, regarding Windows Mobile's future in development.
First, is there any idea when an SDK for WinMo 6.x will come out for VS2010? We do a lot of development for handheld barcode scanners from Honeywell/Handheld and Motorola/Symbol, which will likely be staying with 6.x for a while, and I really would like to be able to get rid of VS2008 on my machine.
And second, what does WinMo 7, and the whole app-marketplace-model of development mean for these kinds of developments? If we are writing an app for a single client, that goes on industrial-type hardware, like these barcode scanners, we would not want to put these on the marketplace, so how would we develop for WinMo7 for ISV work for industrial clients?
Thanks, and have a good day!
Microsoft's Email to Me
Hi,
Unfortunately there are no current plans for VS2010 to support WinMo 6.x. Vs2010 is exclusively targeting Windows Phone 7 as was announced recently at MIX conference and other related communications. We are recommending developers to continue using VS2008 for WinMo 6.x and Vs2008 does work side by side with VS2010.
I have copied Charlie from our Windows Phone 7 team and he can further elaborate on this and your second question related to the marketplace.
Thanks,
Sudeep Bharati
sudeepb#microsoft.com

Categories