Page 1 of 1

Chromecast

Posted: Mon Apr 06, 2015 2:24 pm
by amalakar
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

Re: Chromecast

Posted: Tue Apr 07, 2015 9:21 am
by Elliotfehr
Hello,

Would it suffice to match the User Agent to an id of `generic_smarttv_chromecast`?

Thank you,

Elliot

Re: Chromecast

Posted: Tue May 05, 2015 4:54 pm
by amalakar
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

Posted: Wed May 06, 2015 1:13 pm
by Elliotfehr
In Java, you can access the id of the device from device.getId();

Thank you,

Elliot

Re: Chromecast

Posted: Tue May 12, 2015 7:16 pm
by amalakar
Please let me know whenever this is available.

Re: Chromecast

Posted: Wed May 13, 2015 9:28 am
by Elliotfehr
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

Re: Chromecast

Posted: Thu May 21, 2015 1:09 pm
by amalakar
Thank you, would it be possible to return device.getCapability("device_os") as chromecast too?

Re: Chromecast

Posted: Thu May 21, 2015 1:53 pm
by Elliotfehr
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

Re: Chromecast

Posted: Mon Jun 22, 2015 11:13 pm
by amalakar
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

Re: Chromecast

Posted: Tue Jun 23, 2015 9:14 am
by Elliotfehr
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

Re: Chromecast

Posted: Tue Jun 23, 2015 12:20 pm
by amalakar
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

Posted: Wed Jul 01, 2015 12:42 pm
by amalakar
Is the new version out yet?

Re: Chromecast

Posted: Wed Jul 01, 2015 9:57 pm
by Elliotfehr
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

Re: Chromecast

Posted: Thu Jul 02, 2015 12:28 am
by amalakar
Yes we are using the JAVA api.

Re: Chromecast

Posted: Thu Jul 02, 2015 10:20 am
by Elliotfehr
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