I'd like to add NAS support to one of my application, and it is critical that the application is capable of streaming the content and that it not has to download it to the device. The application will be streaming video content, so once the video is over, there shouldn't be any large video files on the device.
What I've tried so far:
jCIFS - Works beautifully, but isn't capable of streaming (to my knowledge). I've successfully created video files on the device using jCIFS, but they're still there, when the video playback stops.
Temporary files - I know that Android is supposed to be able to support temporary files, but I'm not sure how it works or if it's any good in this situation. Just a thought, basically.
My application must be able to launch a video intent with a video on the NAS device, and it should be playable in any video player. I know that some applications on Market support NAS devices (and SMB / CIFS connections), but I don't know how it works.
Any suggestions or ideas would be much appreciated.
I think you have to create an in between http server as discussed in the following question: Android ServerSocket programming with jCIFS streaming files
I am trying to do the same thing, already tried VPNC, no luck.
Now I am trying to use neo router my android can connect to the server but isnt able to browse any files. It might work for you. search for VPN setup (your router name here) android. It will give you some stuff to try.
Related
I programmmed a website which uses text to speech engine to generate audio files.
Then these mp3 files are started using Web Audio API.
Everything works fine when hearing aufio from speakers on a computer or on a smart phone.
However, as soon as I connect my bluetooth helmet to the smart phone, the audio is not played.
Is it a famous issue that Web Audio API doesn't work with bluetooth devices, or does the issue come from my code?
Do I need to change the context's destination ? How can I set it to buetooth? (ex : https://www.html5rocks.com/en/tutorials/webaudio/intro/)
source.connect(context.destination); // connect the source to the context's destination (the speakers)
This question has already been posted on stackoverflow, but I can't find an answer.
Please help me.
Hi use the web bluetooth library for more reference read this here
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'm currently working on an app that will stream video from one phone, to another using wifi-direct.
I've already installed and tested the sample wifi-direct app that comes with the SDK. It works great sending images from one Nexus 4 to another.
Some problems I've experienced:
I tried to have the app send a video by changing the "image/*" string to "video/*" wherever it appeared. And ".jpg" to ".mp4".
After running the app with these changes, I am still able to connect devices, but one N4 is stuck at "Opening a server socket". And the video I took never gets sent.
Perhaps I went about it wrong.
Regardless, my real goal is to stream video from one phone to the other using wifi-direct only (no data connection / wifi).
Could someone help me figure out what steps I should pursue in order to accomplish this? Should I start with the wifi-direct sample app as a base? Or should I try to write it from scratch myself? How should I go about streaming the video using wifi-direct?
Thanks!
I would like to implement this scenario:
- one IOS device and one Android device;
- the first simply exposes it's media library to the Android one (connected through BT);
- the second accesses the first's media library and plays with its contents.
I've been looking throught IOS/Android Official documentation and searching online for clean solutions, but it's said everywhere that a2dp (which is the standard BT protocol used for the streaming of media contents) isn't supported natively by Android OS, so that I can't hope in a clean solution.
Could you help me? Or the only possibility i've got is implementing a self-made protocol with buffering and all the other stuff?
PLEASE NOTE!! I'm not asking you to write the application for me, I would only like to know if anybody knows something more about this.
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...