Open mobile camera from browser - android

I have a web app that l'et select any camera connected on a PC. I cannot let this choice on mobile.
Is there a way tò collect all the camera presents or let the native app to Jump in and give the Pic back?
I made any kind of try by getmedia but without a good result

With HTML5 came the introduction of APIs with access to device hardware, including the MediaDevices API. You can use this API’s to access audio and video devices to stream and display live video feeds in the browser.
Please refer this documentation for more information:
MediaStream Recording API
If you want to get all the available camera/media information then please refer this documentation for more information:
MediaDevices Enumerate All Devices

Related

How to use android cam as security surveillance cam for live video streaming like IP Cam app

I wanna build an app that will use android camera video and stream it to another android phone or on the web. I don't wanna do it through my Wifi, but i want the cam streaming to be broadcast live anywhere in the world.
Can anyone help me getting an overview of the android classes or APIs that will be helpful doing this task?
You can't stream live video from a phone directly to another phone, there are just too many possible differences between any two given devices.
To do this you will need to have a publicly accessible server, (that you have control of) running a streaming engine, such as Woza: https://www.wowza.com/products/streaming-engine The source phone sends video to the server, and the destination phone receives video from the server.

asynchronous video playing/live streaming from mobile to desktop via usb

I searched a lot over the web for the below requirement but didn't get any sample code or correct solution.
Basically I want to connect my android mobile to a linux desktop via USB and want to live stream a video that i play in my mobile(i m gonna use video view that loads a video from a weblink/assets folder).
if I play a video from my mobile that should be get played on desktop at the same time.
I would be grateful if u provide an API or source code with example/reference links.

Audio Recorder Player Rails Mobile Friendly

Updated
I may have found the solution, I can probably make a mobile app with phonegap that talks to my rails app and make a lighter version of a mobile version of the rails app
I may be getting an educational rails application to work on soon. The client is an educational consultant, she wants to build a rails application and one of the feature is that a teacher can record a feedback that belongs to a particular student for an assignment. The app needs to be able to record an audio and play an audio.
I have been researching this feature both on stackoverflow and google but I don't find the answers very complete.
I got a couple of options,
1) I have found this blog, a developer built an audio recorder/player with flash http://cykod.com/blog/archive/December2010
and basically its teaching me to grab the audio from a browser with a microphone with flash (needs user permission) and then send it to the server therefore you can escape using red5 (media server).
She wants it to be mobile friendly. I don't think the recording works on the android phone because of flash and I am sure the android phone lacks a microphone. I don't know much about ios either because I don't specialize in mobile. I got my android phone to download flash so it can play the sound.
2) using red5server but I think the player/recorder will still be flash and it doesn't work on the phone
3) http://www.sajithmr.me/jrecorder-jquery and jrecorder
I got some solutions for rails but is there a mobile friendly solution ?
I am sure the android phone lacks a microphone
A phone without a microphone would be pretty useless! :)
With Android you can use MediaRecorder to record and save an audio file. I'm sure it works, I've done it before.
Although I have never tried, I think you can do it in PhoneGap with the Capture options and on iOS with the Audio Video Foundation framework.
That's for the mobile part. You don't need flash there, there are much better options.
On your web application, you can surely use Flash to record audio from the computer's microphone.
However, if you're lucky enough your users will use recent browser that support HTML5 audio recording and playback. Check out capturing audio tutorial and libraries such as audio.js.
HTH

Live streaming using android Device

I have been working on an android app that streams videos live on a server using android built-in camera and anyone can watch that live stream from my website which is deployed on the server.
So can any one help me on how should i start working on my project because at present i have no direction to start with.
More specific example is:-
Like a person goes to a picnic and he wants his friends and family to see whats going on with the tour and his family can see live what he's doing live.....
There is an open-source project that does a very similar thing:
http://code.google.com/p/ipcamera-for-android/
It basically uses the LocalSocket of the camera to read the video and stream it from a webserver. You should be able to find lots of information in the source code.
If you want to stream over the internet, for everyone to see i can recommend you the service justin.tv which lets you broadcast you stream to the whole internet. If tried it, and it works very good!
However, if there's no wifi you will probably have a very laggy connection, unless you convert the video in a smaller size...

Accessing video stream from Looxcie device

I'm looking to see if there's a way to get the audio and video streaming in from the bluetooth connection in an android app that I'd create.
http://www.looxcie.com/index.php/companion-apps/looxciecam
Looxcie has their own app which saves their video to a file, but I'd want access to the raw video stream using MediaRecorder if possible.
Thanks!
The Looxcie device lacks in technical information that could help a developer to use it in a custom application. My advice is that first to check what Bluetooth profiles are available on that device and maybe there is VDP - Video Distribution Profile, A2DP - Advanced Audio Distribution Profile and AVRCP - Audio/Video Remote Control Profile.
But from what I know on Android you have only A2DP and no VDP. So, probably they send data over SPP - Serial Port Profile and reconstruct it on Android. If they work this way, is nothing you can do, it's like a proprietary format. You could ask Looxcie for more information about the device, they look like a friendly/enthusiastic open company and maybe they will share information.
A trick you could make is use that file feature, and have it like a virtual file that goes into your MediaRecorder. Again it may not work, it's possible that they don't write all the time, but periodically put chunks of data.

Categories

Resources