How to pull the camera stream configurations? - configuration

I am trying to get the stream configurations of my phone's camera. But don't know where to start..
Tried reading about how stream configurations works on Android and to build my Google camera mod, i need to pull the right stream configurations but i can't find how.

Related

Why Audio Transforming Functions and Audio Visualizations are not connecting to streaming source

I am working with Web Audio API and I combined two project repositories at GitHub to get a cool app that gets a streaming user input, transforms the input and provides an output for the user to download. I have a problem to connect the streaming voice with filters(pitch etc.), audio visualizations and a distortion filter. I am a student and I do not have much experience with audio API. Can anybody help me? (First Repository: https://github.com/mdn/web-dictaphone, Second Repository: https://github.com/urtzurd/html-audio/tree/gh-pages/static, My project Repository: https://github.com/PatrykWajs/web-dictaphone).
Thank you for your time.
I managed to combine both repositories as one project but I cannot understand why things cannot connect. I tried various things.
There Aren't Any errors. It seems like everything is working fine but streaming voice input is not connected to filters and visualization.
I think it is working just fine; however, you're getting hit by the autoplay restrictions. If you open up the developer console, you'll see a message that tells you so - the AudioContext will not go into playing mode unless it's created (or resume()ed) from within a user gesture (like a click handler). You can test this by going into the site settings (right-click the lock icon in the address bar, click "Site Settings") and set "Audio" to "Allow" instead of "auto".

Create my own GoPro live stream

I am wondering if it's possible to stream from latests GoPro cameras throught mobile data.
I already have my own server and my own website, and I want to create a streaming page like this :
Buy a GoPro which handle wifi connection
Share my mobile data connection to my GoPro, and send my live video to my server
Develop a simple mobile app to remote my stream and to send my location data to my server too.
Add a streaming page to my website, with the video and my location + my browsed path from the beginning of my trip, for example on a map with the Google Map API. (I'll obviously do not add my home location)
I can develop on android and on my server, but I am wondering if it's possible to get the GoPro live video by this way. Have you some tips to help me ?
Thanks for your attention.
You could use Termux on Android with FFmpeg to re-stream the feed to your server or use Livestream app on iOS which has native GoPro support.

How to write a blob to a file in Chrome apps?

I am developing a chrome app which can download videos from server, save it locally and display it when user wants to. I am able to get the blob using xhr from server, but I do not know how to write it to a file, I am using Chrome.file system api. No luck. Any links to tutorials on using file write api ?
Take a look fileSystem API
Chrome Dev Editor uses it.

Streaming audio files from OneDrive using Background Audio Player in a windows phone app

I am trying to stream audio files using a windows phone app which plays background audio, the files reside in OneDrive. Looking at the OneDrive api i have figured ways to discover these files but to stream these files my hunch is that the OneDrive platform should be exposing a stream url through some api, as there are couple of apps which stream audio from OneDrive including the official OneDrive App itself.I have not been able to figure out this api.
I have done the same with dropbox using the GetMediaAsync api from the DropNet library, i was hoping for something similar with OneDrive api ? Has anyone figured this out ?
I found a solution,
so basically each file class on OneDrive is returned as a rest object, so all audio files have type audio and the audio object has a property source which gives the stream url

how to download audio file from from uri and save in local folder in windows phone 8?

I've got various types of ringtone in my server. I need to know how to read those audio files and save into my Windows Phone 8 directory.
How large are the files? The BackgroundTransferRequest API is one way you could download files. It is especially useful for larger files. Since this class downloads in the background it is nice in that you can navigate around your app and even leave it without having to cancel your download.
It also has some built-in functionality that will help limit downloads when you are on wireless vs wifi so your app won't accidentally eat up your user's data plan.
Here's some info on Background file transfers:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202955%28v=vs.105%29.aspx
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202959%28v=vs.105%29.aspx
An alternative is using an Http request using either the HttpWebRequest or WebClient classes. These options are good when you have smaller files and when you know you have a stable network connection. They will also work with larger files but they don't have the extra features that BackgroundTransfer API has for longer running downloads.
http://developer.nokia.com/community/wiki/Making_a_HTTP_request_and_listening_its_completion_in_Windows_Phone