Chromecast

Can you add this device?
amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Chromecast

Postby amalakar » Mon Apr 06, 2015 2:24 pm

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

Elliotfehr

Re: Chromecast

Postby Elliotfehr » Tue Apr 07, 2015 9:21 am

Hello,

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

Thank you,

Elliot

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Chromecast

Postby amalakar » Tue May 05, 2015 4:54 pm

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?

Elliotfehr

Re: Chromecast

Postby Elliotfehr » Wed May 06, 2015 1:13 pm

In Java, you can access the id of the device from device.getId();

Thank you,

Elliot

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Chromecast

Postby amalakar » Tue May 12, 2015 7:16 pm

Please let me know whenever this is available.

Elliotfehr

Re: Chromecast

Postby Elliotfehr » Wed May 13, 2015 9:28 am

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

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Chromecast

Postby amalakar » Thu May 21, 2015 1:09 pm

Thank you, would it be possible to return device.getCapability("device_os") as chromecast too?

Elliotfehr

Re: Chromecast

Postby Elliotfehr » Thu May 21, 2015 1:53 pm

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

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Chromecast

Postby amalakar » Mon Jun 22, 2015 11:13 pm

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

Elliotfehr

Re: Chromecast

Postby Elliotfehr » Tue Jun 23, 2015 9:14 am

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

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Chromecast

Postby amalakar » Tue Jun 23, 2015 12:20 pm

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.

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Chromecast

Postby amalakar » Wed Jul 01, 2015 12:42 pm

Is the new version out yet?

Elliotfehr

Re: Chromecast

Postby Elliotfehr » Wed Jul 01, 2015 9:57 pm

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

amalakar
Posts: 13
Joined: Mon Apr 06, 2015 2:17 pm

Re: Chromecast

Postby amalakar » Thu Jul 02, 2015 12:28 am

Yes we are using the JAVA api.

Elliotfehr

Re: Chromecast

Postby Elliotfehr » Thu Jul 02, 2015 10:20 am

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


Who is online

Users browsing this forum: No registered users and 13 guests