Chromecast
Chromecast
Currently wurfl cannot identify chromecast user agents correctly. According to https://code.google.com/p/google-cast-s ... ail?id=157 a chromecast device can be identified using the presence of CrKey in it. Please add support for chromecast in wurfl.
The useragent looks like:
Mozilla/5.0 (CrKey armv7l 1.4.15250) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.0 Safari/537.36
The useragent looks like:
Mozilla/5.0 (CrKey armv7l 1.4.15250) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.0 Safari/537.36
Re: Chromecast
Hello,
Would it suffice to match the User Agent to an id of `generic_smarttv_chromecast`?
Thank you,
Elliot
Would it suffice to match the User Agent to an id of `generic_smarttv_chromecast`?
Thank you,
Elliot
Re: Chromecast
generic_smarttv_chromecast would do, as long as there is an way for us to identify. How do we get this id? Is it using the getCapabiltiy in Java?
Re: Chromecast
In Java, you can access the id of the device from device.getId();
Thank you,
Elliot
Thank you,
Elliot
Re: Chromecast
Please let me know whenever this is available.
Re: Chromecast
Hello,
The User Agent has been added to the WURFL database and will be available in the next wurfl.xml release (this Sunday). If you would like, I can send you an out of band snapshot with the latest changes?
Thank you,
Elliot
The User Agent has been added to the WURFL database and will be available in the next wurfl.xml release (this Sunday). If you would like, I can send you an out of band snapshot with the latest changes?
Thank you,
Elliot
Re: Chromecast
Thank you, would it be possible to return device.getCapability("device_os") as chromecast too?
Re: Chromecast
We will be releasing this change in our next wurfl.xml release as well as providing better detection of this device in our next API release.
Thank you,
Elliot
Thank you,
Elliot
Re: Chromecast
Following user agents do have CrKey in it, and I was expecting them to be parsed as Chromecast as well and have the id: generic_smarttv_chromecast. I don't see the following having the mentioned id though.
Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.75 Safari/537.36 CrKey/1.14.32904
Mozilla/5.0 (Linux; Android 5.1.1; Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.75 Safari/537.36 CrKey/1.14.32904
Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.51 Safari/537.36 CrKey/1.12.27946
Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.75 Safari/537.36 CrKey/1.13.31432
Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.75 Safari/537.36 CrKey/1.14.32904
Mozilla/5.0 (Linux; Android 5.1.1; Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.75 Safari/537.36 CrKey/1.14.32904
Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.51 Safari/537.36 CrKey/1.12.27946
Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.75 Safari/537.36 CrKey/1.13.31432
Re: Chromecast
Hello,
These will return the values that you are expecting in our next API release, which should be available by the end of this month. I will post back when it is ready.
Thank you,
Elliot
These will return the values that you are expecting in our next API release, which should be available by the end of this month. I will post back when it is ready.
Thank you,
Elliot
Re: Chromecast
Please make sure that you look for the presence of the string "CrKey" in the user agent, since version number etc may change going forward, and I would like wurfl to work with future chromecast user agents as well.
Re: Chromecast
Hello,
We are getting ready to publish the release within a few days. From what I understand, you are using our Java API correct?
Thank you,
Elliot
We are getting ready to publish the release within a few days. From what I understand, you are using our Java API correct?
Thank you,
Elliot
Re: Chromecast
I have just uploaded a copy of the latest API to your file manager. Please let me know if you have any questions while upgrading.
Thank you,
Elliot
Thank you,
Elliot
Who is online
Users browsing this forum: No registered users and 24 guests