Audio Capture in windows phone 8 with external microphone - windows-phone-8.1

I can capture some audio in wp8.1 platform but the sample rate is very low: 16KHz.
I'm trying now to connect an external microphone via the 3.5mm jacket but it not responding so much.... Is there an way at all to change the sample rate ?

Update: so I checked it and there is no way to do that. The SampleRate is fixed by the phone.

Related

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.

BackgroundMediaPlayer share data with Foreground in Windows Phone

I need to share an audio file which is opened (read-only) from foreground task (UI), and is being played by the BackgroundMediaPlayer task in Windows Phone 8.1.
While it is being played in the background, I also need to access the same file from the foreground UI, again as read-only to retrieve its byte content.
What is the best way to achieve it?
Is storing it to IsolatedStorage an option?

Getting captured video from Windows Phone 8

While Microsoft appears to have a robust video capture API for Windows Phone 8, it appears that any videos captured must be stored in the application's local storage, which is not accessible from the File Explorer when the WinPhone 8 device is connected to a Windows 8 PC.
Also, the app cannot store the videos anywhere the user could easily copy them from the phone. It is limited to its own isolated file system. This stackOverflow posting explains how the Win8 phone is locked down:
Windows Phone 8: Media file access
So, I can capture and store a video, but how do I get it off the phone to somewhere a user can manipulate it?
If you want those captured video off your phone then you can email/share it using ShareMediaTask & then can get that video out off the phone.
May be its not worth your requirement but if the purpose is to get it out off phone then it will help.

Programmatically communicate with Windows 8 Music Player

I would like to know if it is possible to programmatically communicate with the default Windows 8 Music Player (Windows store app).
For example, when is it start/finish playing a new song, what is the name of the song etc.
I vaguely have an impression that WinRT app are based on COM/DCOM, so I suspect there maybe a way to expose that to be consume by external program. Is my assumption correct?
Windows store apps are "sandboxed" apps. You can't communicate with other WinRT apps. So you can't access what's being played in Music app of Windows 8 app.
The only way a windows app can communicate with it's host environment is through what is called Activation Protocol which basically opens another app. So metro media players can't provide info about what they are doing to other apps.
Also a metro app can ask a file to be opened by default handler of host system.
So the answer is no. There can't be a way for the media player to inform other apps about it's status.
Windows metro Apps are more similar to a Silverlight app than a COM/DCOM component.

How to set video record resolution in Windows Phone 8.

I am trying to capture video using a custom app on windows phone 8.
I am following the guidelines as per the link here.
I am clueless on how to set the resolutoin for the captured video. Currently it is being recorded at a resolution of 640x480 by default.
You are using the VideoCaptureDevice class which is the Windows Phone 7.5 API for recording video. That API by design is limited to 640*480.
If you want more control over the recorded video, you should use the new Windows Phone 8 API: AudioVideoCaptureDevice which has a SetCaptureResolutionAsync method. Of course, it will require a Windows Phone 8 device.