Closed GoogleCodeExporter closed 9 years ago
Could you please try with media player library 0.8.0?
We'll look into fixing the docs.
Original comment by vadi...@google.com
on 14 Jul 2014 at 4:15
Until the docs are fixed, here is the streaming protocol interface description:
/**
* @interface
* Streaming protocol interface exposed to the application.
*/
player.StreamingProtocol = function() {};
/**
* Gets the stream count for the media.
* @return {number} Stream count.
*/
player.StreamingProtocol.prototype.getStreamCount = function() {};
/**
* Gets stream information that includes codecs, mime type, and bitrates.
* @param {number} streamIndex Stream index.
* @return {!cast.player.api.StreamInfo} Stream information.
*/
player.StreamingProtocol.prototype.getStreamInfo = function(streamIndex) {};
/**
* Sets the enabled state of the stream.
* @param {number} streamIndex Stream index.
* @param {boolean} enable Whether to enable or disable the stream.
*/
player.StreamingProtocol.prototype.enableStream = function(
streamIndex, enable) {};
/**
* Gets the enabled state of the stream.
* @param {number} streamIndex Stream index.
* @return {boolean} Whether the stream is enabled or disabled.
*/
player.StreamingProtocol.prototype.isStreamEnabled = function(streamIndex) {};
/**
* Gets the quality level used to play the stream.
* @param {number} streamIndex Stream index.
* @return {number} Adaptive bitrate quality level.
*/
player.StreamingProtocol.prototype.getQualityLevel = function(streamIndex) {};
Original comment by vadi...@google.com
on 14 Jul 2014 at 6:07
I have the same problem with the 0.8.0 version too.
I use PlayReady DRM protected movie, with two audio streams and can't change
them.
On other platform I had problem with the audio changing, and the problem was
that the stream contains subtitle streams too, and the player couldn't handle
that.
Original comment by vukmanda...@gmail.com
on 18 Jul 2014 at 2:25
vukmandavid: please open a separate issue and include your stream, the original
issue has been addressed.
Original comment by anad...@google.com
on 18 Jul 2014 at 5:09
Original issue reported on code.google.com by
chromec...@accedo.tv
on 2 Jul 2014 at 8:54