We are working on Chromecast integration into our app. The development agency has one Chromecast and we have one here in office. Both have been whitelisted using the same HTML reciever.
Our agency is sending us test versions (with our App key), but the App is not recognizing our Chromecast (in iOS and Android).
We are guessing that there is an issue with possible multiple app keys running off of the same receiver html?
or
The serial number we provided is incorrect?
Google-cast
It's quite possible to have multiple devices using the same App Key, just register the additional devices and mention the prior key. If there is a problem you can write us at Chromecast-updates#google.com
Related
I am currently implementing a ChatBot using Google Cloud Speech.
I am using socket.io to record a microphone stream and then sending that through node to Google Cloud Speech.
Everything is working fine on my laptop and my android mobile phone (Nexus 5x, Chrome 68)
I record the audio, and having set single_utterance to true, get a result with "isFinal" as soon as I pause speaking.
But if I set the language code to 'da-DK', I never get a "isFinal" result (unless I end the stream myself) on mobile. Works fine on my laptop, but not mobile.
Have anyone experienced anything similar?
As a bonus info:
If I set interimResults to true, I do get multiple results, but they are just never isFinal.
So just to be clear: everything is working perfectly apart from the one case: da-DK on mobile.
As this behavior is occurring only when using the da-DK supported language on a mobile device, it might be related to an internal service issue; therefore, I think that you should take a look the Issue Tracker tool that you can use to raise a Speech-to-Text API in order to verify this scenario with the Google Technical Support Team. In this way, you will be able to share your code, audio files and internal project information if required by the troubleshooting process.
Additionally, I suggest you to take a look on this link that contains some useful documentation and example to use Google Cloud Speech API on an Android environment that you may use as a reference for your project.
I am an WPF developer with little knowledge for the way "mobile" apps work but in general I believe that they work in some sort of sandbox way (meaning they should not be able to access each others process, info etc., I might be totally incorrect on this one). So I am wondering if such "limitations" are applied to the Universal Windows Platform (UWP) apps?
The reasoning for my question is that I would like to write and app that checks if another Universal App is in process and use some of its information. In WPF there are ways of doing just that but in UWP apps I am not sure if it is/should/will be possible.
Thanks.
There are a couple of solutions in Windows 10. Firstly, if you are building an enterprise app and can also side-load normal Desktop apps, you can use this technique to build your UI as a UWP but also be able to break out of the sandbox and do other things on the desktop.
Secondly, if the app you want to read from is cooperative (ie, is designed to provide information; you're not just grabbing it without permission) then you can use App to App services to send and receive information between two consenting applications.
Both links are to //build videos but you can download the slides too that should contain code samples.
I am looking forward to create a UiMagician binding for NEST users. At present UiMagician have binding for VSCP iot project.
https://sites.google.com/site/uimagician/
Please suggest right path for documentation for gateway agent so that REST communication can be establish to communicate with REST device.
Also if some reference example javascript code is available then please suggest the right link.
NEST home simulator does it create the virtual device or it create a HTML app to controll the devices.
https://developer.nest.com/documentation/cloud/home-simulator
The simulator is to create virtual devices for testing. You login with a new nest account and you can add devices and locations.
Link to Chrome App
There are also Javascript code samples here
What you need to decide is whether you will do REST polling or have a real-time REST Streaming/Firebase.
So assuming you've already launched media on the receiver from an iOS/Android/Web app, how can another web app join this activity and control the media? I noticed that the cast API has a 'JOIN_ACTIVITY' in it, but there's nothing that currently uses it. Nor do you know the activity's ID to join it..
This is similar to How to check if a ChromeCast Session is already in progress however, this answer does not help to connect to an existing application
However, using the javascript API, even if you know your app is running I can't find a way to connect to it without re-launching
I managed to get some answers from the Google engineering team:
We allow clients to reconnect to the same session if they are launched
from the same origin (i.e. http://www.somedomain.com:80/). We don't
have the support in the V1 protocol stack to implement this across
multiple browsers. We can hard code something for V1 like mapping
origins to app ids, but it will still be some eng effort to add the
API support as well.
In short, the functionality from Android and iOS is currently missing from the Chrome SDK... hope it comes out soon.
EDIT: To update this, now that the official public SDK has been released, this is now supported!
What is a difference when sending push notifications using templates SendTemplateNotificationAsync vs native SendAppleNativeNotificationAsync?
In a back-end we keep a track of device types that users are using. But I don't see what is the point to send native, as template works fine.
Template are indeed a powerful feature, especially when used for personalization.
The disadvantage is that changing the platform-specific payload of a notification requires updating the registration.
Usually template registrations are a good fit for notifications that have always the same format and target multiple platforms
Using native notifications sending might enable you to easily target specific devices, however you can achieve the same goal by using Tags.
The bottom line is that I also see no real value in using the native notifications other than simplicity on the client side development.
I also wouldn't be surprised to find out that the Notifications Hub itself is using the templates to send the native notification (but that is of course an assumption of mine...)