Recording audio possible with tvOS? - audio

I have an iOS app that I would like to port to tvOS. However, the app requires that the user to speak into a microphone and record their voice. I was hoping to use the microphone on the remote control. The current iOS app uses AVAudioRecorder to record the user's voice. However, I looked at the AVFoundation API and it appears that AVAudioRecorder is not available in tvOS.
Is there another API or workaround for this, or am I just out of luck?

According to this post on the developer forums, it appears that using the Siri Remote microphone is not currently available:
No, there's no API to access to the microphone.
https://forums.developer.apple.com/thread/16926

Related

Play youtube video from my application on Google Home

Google home is connected to chromcast I have ability to play youtube video. But when I launch my application base on dialogflow, I don't know how to do it.
Maybe I should use a different environment instead of dialogflow? There is any ability to have access to chromecast remotely (from external server)?
Thx
There is currently no way to trigger a cast application from a Google Assistant Action without specifically partnering with Google.

Is it possible to make a receiver app for chrome tab

I'm posting here because I didn't find any satisfying answer anywhere.
The question is quiet simple. I see a lot of application implementing the cast feature on Android. The issue is that even if I have a brand new smart TV, it actually doesn't support the cast feature of the majority of my apps.
For example, my TV has a Youtube app so I can cast youtube videos from the youtube app on my phone to my TV.
Now I would like to cast my favorite streaming app to my TV but my TV is not found. So I'm thinking, okay let's try to make an app for my TV that will receive that kind of command.
I know that I can make an app for my TV. Before starting that ambitious project, I want to be sure that the google cast sdk will allow me to write such receiver app.
Do you think this is possible ? Or do we really need one receiver app for every emitter app ?
YouTube uses its own discovery protocol beyond what the Cast SDK supports. Apps need to integrate the Cast SDK in their senders and implement receivers that support their authentication and DRM.

How to get an URL for playing full song rather than just preview using Spotify API?

Currently, I am able to play only the Preview version of the song using the song's preview_url from the response object. Is there any way to fetch the entire song?
Playback of full tracks is not supported in the Web API.
If you are making a mobile app, playback is offered through the mobile SDKs, but there is no full playback for web at this time.
Mobile SDKs can be found here:
https://developer.spotify.com/technologies/spotify-ios-sdk/
https://developer.spotify.com/technologies/spotify-android-sdk/

Remote control API for Spotify?

Is there such a thing as a Spotify remote control API? I want to write an app which lets the user control the Spotify desktop client (play, pause, volume, playlists, etc.) but I can't seem to find any documentation anywhere.
There are iOS and Android remote control apps out there so I'm just wondering how they do it if there isn't an API.
On Mac OS X, Spotify can be controlled 'remotely' (i.e. from other apps) using AppleScript, either using the bundled API or the System Events service.
Here's an example of using the bundled API: https://github.com/activars/spotify-applescript/blob/master/spotify_control.applescript
And another one using System Events (it isn't quite as elegant): http://www.jacktams.net/2010/04/28/spotify-applescripts-version-0-4-3/
Official documentation is a bit thin, although you should be able to use the AppleScript editor's library feature to find out more about the methods offered.

I want to capture audio for all VoIP applications such as Skype, G-Talk, Msn, etc

I need some links to record both microphone and audio in all the applications. I'm developing a audio recorder feature for an application.
I tried intercepting some APIs like IDirectSound and Wave API but I'm missing something since some applications are recorder and some others aren't.
Can someone send me a clue around this?
Best Regards.
In my compary we've developed an Audio Recorder SDK because it's very difficult to make all the hooks you need to intercept all the applications. You should hook MCI Wave API calls, IDirectSound interface and the new IAudioClient interface, part of the Windows Vista / Windows 7 Core Audio engine.
Our SDK supports Skype 4.x and 5.x, G-Talk and Msn. We've tested with other applications and it's working but we don't support them.
Additionally, we bring some UI features such as handling button clicks and get windows text using the SDK.
I hope this information can help you.

Resources