gingerbeur / google-cast-sdk

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

No way to get the current playing quality level #557

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use MPL 1.0.0
2. Play HLS stream
3. No way to get the current quality level.

What is the expected output? What do you see instead?
I want to have an API to allow me to retrieve the current playing quality 
level. Or a callback to be notified when the quality level is changed.

What version of the product are you using? On what operating system?
MPL 1.0.0

Please provide any additional information below.

Original issue reported on code.google.com by nicevinc...@gmail.com on 8 Apr 2015 at 10:02

GoogleCodeExporter commented 9 years ago
Please refer to the documentation 
(https://developers.google.com/cast/docs/player). You will find "Set 
video/audio bitrate" section and also read the FAQ (all the way in the bottom). 
This should help you optimize quality of your stream. 

Original comment by na...@google.com on 9 Apr 2015 at 1:29

GoogleCodeExporter commented 9 years ago
The section describes how to SET the 'next' bitrate, not GET the bitrate.

There is a use case here, we have a video tracker (QoS) to log how long a user 
spent on each bitrate. It helps us to identify when most of users playing lower 
bitrate, we know it might cause by the CDN.

Original comment by nicevinc...@gmail.com on 9 Apr 2015 at 1:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Please try this to get the quality level: Override the Host.getQualityLevel and 
call default implementation for getQualityLevel; log what MPL selected.

Original comment by na...@google.com on 9 Apr 2015 at 6:18