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
Related
In Live Game Streaming, only using cellphone I find both Game app like Honor of Kings and live streaming app can use microphone recording simultaneously. but it does not work in Android
Expect to know why it works in iOS
Yes it possible
in iOS using operating system's audio session management.more then one app will use microphone simultaneously.
I have a plan to develop an instrument app, when we shake the android phone, it will produce "angklung" (Google it) sound.
THE PROBLEM:
How to make one android phone can share its produced sound (by shake
gesture) to the other android phones having my application?
The connection that I want to use is mobile data connection and wi-fi.
I think this person has the same problem, but I don't know how to communicate with him. Stream android to android
But there is no help..
I need solution/example/suggestion for this problem. So far I succeed to produce the "angklung" sound when it is shaken.
I have no idea how to start this application. I've searched in the internet but there is no help :(
Thanks for your help.
I would give you the suggestion of streaming the audio data to a server and beaming that to other android devices (that are registered to your app). As the question/issue you have asked are way bigger than couple of lines code, hence am pointing you to some good resources, dig those deep & good luck.
Live-stream video from one android phone to another over WiFi
Stream Live Android Audio to Server
I am studying computer programming, but I feel that at school we are doing only stuff that work on a computer without having any connection to the outside world and it isn't all that interesting, so I gave myself a challenge. I want to make a program that streams footage from a surveillance camera to a phone. It seems a bit of a long shot, but I want to try. The thing is that, as I said, at school we are doing pretty basic stuff and with a project like this I have no idea how to even begin. A simple Google search didn't help at all.
I know how mobile apps are made, but I have no idea how to connect such devices.
Any ideas?
I have experience only in RTMP streaming so I am going to explain what I did then.As far as I know, there are 3 components required for streaming in RTMP:
The source - a device with the webcam that is going to generate the video streams. You might need to learn flash scripting language called ActionScript 3 and Flex to write an application that will help you to send stream to a server.
The Media Server- The source device sends its stream to the media server (in some cases, the media server is the source). You can easily do this with action script after you set up your server. If you want to have a local media server then you can install RED5 media server which is based on Java and is open-source.
Client Application- The client application can be a mobile application or a flash based web application which will connect to your media server for the stream and will display it on the client's device.Even this can be written in ActionScript/Flex.
Here is a tutorial on how you can download and setup Red5 media server:
http://www.technogumbo.com/tutorials/Red5-Media-Server-Development-Setup-Tutorial/Red5-Media-Server-Development-Setup-Tutorial.php
You'll need to learn ActionScript / Flex for client side application and some bit of Java for server side.
I would like to be able to record audio on mobile phones by having the user trigger the recording through a button press on a web page. Based on what I've read, audio recording is supported (kind of) in HTML 5, but not all browsers implement it yet. Many similiar questions are 6-15 months old and it seems like support for audio recording is moving forward quite rapidly.
So what I wonder is, can this be done today or in the next 3-6 months, or do I have to create native apps for the various phones?
Probably Cordova-like framework is a way to go for you. You'll be able to create html app and Cordova build will create native packages for all platforms for you.
Cordova (PhoneGap) home
http://phonegap.com/
Special audio recording shim
http://docs.phonegap.com/en/1.9.0/cordova_media_capture_capture.md.html
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...