jhooda / google-cast-sdk

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

Subtitles with HLS from Android Sender App #602

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I have an issue with the Styled Media Receiver and Subtitles. Trying to send 
TextTracks from an Android Sender App using the CastCompanionLibrary seems to 
fail silently.

Sending the *exact* same subtitle information using the JavaScript Sender API, 
the subtitles are shown without an issue. Sending the information via the 
Android sender, the TextTracks are sent to the Styled Media Receiver, but never 
requested from the server. Setting the text track works, too, and calling for 
the currently selected track returns the right index. But they're simply never 
requested from the server, let alone show up on the player.

Again, using the Styled Media Receiver with HLS and WebVTT-subtitles. This 
seems to be a regression issue, as it has worked in the past (and I had opened 
a ticked back then which was marked as resolved).

Original issue reported on code.google.com by lambdad...@gmail.com on 22 Jun 2015 at 9:47

GoogleCodeExporter commented 9 years ago
Can you reproduce the issue and provide the error logs?

Original comment by jonathan...@google.com on 23 Jun 2015 at 12:33

GoogleCodeExporter commented 9 years ago
Also, what versions of Android, Chromecast, and Google Play Services are you 
using?

Original comment by jonathan...@google.com on 23 Jun 2015 at 12:37

GoogleCodeExporter commented 9 years ago
#1

The issue is reproduced every time I try to display subtitles with VTT on an 
HLS stream.

I cannot provide any logs that are of much information: The Companion Library 
says everything is a-ok (say successfully loaded subtitles and everything) and 
since I use the Styled Media Receiver, I'm not able to get logs from the 
Chromecast. If there is a way to get logs from a released app using the Styled 
Media Receiver, please let me know.

#2

Using Android 5.0.2 and Android 4.2.2, Chromecast has the firmware version of 
32904, Google Play Services 7.5 (Version integer is 7571000).

Original comment by lambdad...@gmail.com on 24 Jun 2015 at 8:06

GoogleCodeExporter commented 9 years ago
Can you try to reproduce your issue with CastVideos-android app, which uses 
CCL? In my local copy, I changed the media content there to point to some HLS 
content and I was successfully able to show/hide Closed Captions (same vtt 
content as it is currently using). 

As for getting logs from the Styled Receiver, since that receiver is yours 
(i.e. you are using your own app-id), you should be able to connect a chrome 
debugger while your app is running on the chromecast device (see 
https://developers.google.com/cast/docs/debugging)

Original comment by anad...@google.com on 24 Jun 2015 at 5:03

GoogleCodeExporter commented 9 years ago
I'm sorry for the lack of response to this, I will come back to it once I have 
the office time for the issue.

Original comment by lambdad...@gmail.com on 1 Jul 2015 at 10:37

GoogleCodeExporter commented 9 years ago
Closing this ticket for now. If you can test with CastVideos-android and verify 
that the issue still occurs, we can reopen the ticket.

Original comment by jonathan...@google.com on 10 Jul 2015 at 10:15