imberezin / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Method setFontGenericFamily has no effect on Nexus Player #684

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Casting some video via Nexus Player, subtitles are enabled and displayed.
2. Change style of subtitles via method setFontGenericFamily.

What is the expected output? What do you see instead?

Expected output is a different font style, which depends on a value given into 
the method setFontGenericFamily. Instead of this, there is no effect after 
calling this method. 
Important: in case that video is casting via Chromecast, the same code works 
fine. It probably means that the issue is in Nexus Player device.

Original issue reported on code.google.com by sklenick...@gmail.com on 4 Nov 2015 at 10:04

GoogleCodeExporter commented 8 years ago
Is there a specific app you're using where you see this behavior? Please 
provide a detailed list of steps you used to reproduce the issue. 
What's your Chromecast firmware version, Nexus Player version, and Google Cast 
Receiver app version (for the Nexus Player)?

Original comment by jonathan...@google.com on 6 Nov 2015 at 6:04

GoogleCodeExporter commented 8 years ago
Please provide the requested information.

Original comment by jonathan...@google.com on 13 Nov 2015 at 8:54

GoogleCodeExporter commented 8 years ago
This situation happens in my application, which I developed. In code, I changes 
the style of font via this method:

currentStyle.setFontGenericFamily(value);

currentStyle is an instance of TextTrackStyle class and value is for example 
TextTrackStyle.FONT_FAMILY_MONOSPACED_SERIF. 

As I wrote, in Chromecast this works fine, but if I try to use this on Nexus 
Player, this method has no effect.

Chromecast firmware version: 1.17.46278
Nexus Player version: 6.0, Build MRA58N
Google Cast Receiver app version: 1.16.45911

Original comment by sklenick...@gmail.com on 27 Nov 2015 at 11:55

GoogleCodeExporter commented 8 years ago
Android TV currently has a different font set from Chromecast, which is why 
setFontGenericFamily works on Chromecast but not Android TV. It's not something 
we plan on implementing in the near future, but I will update this ticket if 
that ever changes.

Original comment by jonathan...@google.com on 5 Jan 2016 at 11:14