iOS streaming user camera on html5 without WebRTC - javascript

Does there have any way to help me streaming devices's camera on web page?
I need to keep show it on html5's video tag can't use like <input type="file" capture="camera">this code or Native Code.
thanks for answer.

Unfortunately, like you states, WebRTC is not supported on iOS devices (keep yourself updated using this page). streaming a video from a web page on an iOS device is not possible using conventioal HTML or Javascript methods. You can upload a video element, but not stream it. That would require access to navigator.webkitGetUserMedia or navigator.GetUserMedia, which again, is not supported on iOS browsers (yet).

Related

how to record the video through webcam using javascript

I want to record the videos through my webcam and want to upload them to the server. I don't want to use any plugin. How can I atleast just record the videos.
There's a project on GitHub called RecordRTC. It also provides a live demo here. This tool could run on browsers supporting WebRTC and getUserMedia. It could record both audio and video.
However, according to data from Can I Use, currently WebRTC and getUserMedia are only supported by Firefox, Chrome, and other blink engine browsers.
Use the navigator.getUserMedia function.
Check out these url`s.
Capturing Audio & Video
Have a look here
That being said, this question has been asked several times before:
How to record webcam and audio using webRTC and a server-based Peer connection
Access webcam without Flash
HTML 5 streaming webcam video?

Record audio in a safari browser using HTML5?

I was searching for some solution to record audio inside of the browser and send for a webservice. I have found some solutions, but they only work for Chrome or Firefox. So, I wanna know:
Is there someway to record audio in SAFARI?
PS: I don't wanna use the tag video
What you are looking for is the getUserMedia API from WebRTC to access the user's microphone without any plugins. You can check out what browsers currently support the webrtc functionalities here: http://iswebrtcreadyyet.com/
At the moment it is not ready for safari.
The best support for webrtc is given by google because they are pushing this standard a lot.

Capturing photo , audio and video from web application

I am making a web application which has the functionality of capturing the photo, audio and video. Till now i have considered the JQM and Sencha framework.
For photo i am able to directly open a camera using Sencha and it works great. But for audio and video i am not able to find solution like photo. Does anyone has done this? or have an idea how can this done?.
I am aware this can be done via Phone-gap but that is for the Hybrid App (native + html5) app i want to do it for browser.
There is no API in html 5 that will allow you to acces the camera/microphone directly in iOS.
Since iOS 6 there is only the option the upload an photo via the input tag.
You could try getUserMedia.
Supports is still sparse though - see here
Tutorial - see here
I highly recommend using Media element. I've built entire JQM mobile solutions using the video player capabaility, and audio.
http://mediaelementjs.com/

Looking for a cross-mobile browser compatible way to record from a built in microphone?

I want to make a very simple web app that takes the audio signal from the phone's microphone and varies some simple graphics on the page in as near to real-time as possible.
I'd prefer the app to be web-based (rather than iOS/Android apps) so that users can be directed to the page in a more rapid way. (I.e. go to sh.ort/url and the web app starts straight away)
Is this currently possible?
I'm not sure how well supported the web audio API is, or some of the more modern HTML5 features.
Thanks
This gives you a nice tutorial on how to record audio through the HTML5 API: http://www.html5rocks.com/en/tutorials/getusermedia/intro/
Unfortunately, as seen in this post, Apple doesn't support any API for this yet: Mobile Safari Audio Recording from Microphone

How to play a wav file in web browser with javascript on ipad

I'm building a simulator that runs in the browser and needs to be deployed to the iPad. I've run into an issue where I need to be able to play a .wav file on a button click.
I know that the ipad supports the HTML5 audio tag, but this application will run on PC's, Mac's and the iPad and all browsers do not support the HTML5 audio tag yet. So I really need a solution that will work on the ipad, as well as the desktop.
Thanks in advance for any help with this issue.
I know it's not best practice to play audio in web pages, but it's what the client ordered, and he's the one paying the bills.
The JavaScript would be:
var audio = new Audio("noise.mp3");
audio.play();
I've heard, however, that iOS devices (iPad, iPhone, iPod) disable autoplay and the JavaScript .play() method at start up and will only play a noise in response to a explicit user action.
Google "HTML5 audio" to find out more details (and there are lots of detail.)
<object type="audio/mpeg" data="muzak.mp3">Your browser doesn't seem to like MP3s</object>
that should fire up whatever plugin's registered for mpeg audio, or display the alternate text.
You're better off embedding an mp3, because support for that is very widespread. A .wav, by comparison, can be anything. Wav is a container format and can use any number of different codecs, most of which are probably NOT supported by your average pc/browser.

Categories

Resources