Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
# Please keep the list sorted.

Google Inc. <*@google.com>
Sanborn Hilland <sanbornh@rogers.com>
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@

Joey Parrish <joeyparrish@google.com>
Natalie Harris <natalieharris@google.com>
Sanborn Hilland <sanbornh@rogers.com>
Timothy Drews <tdrews@google.com>
Vasanth Polipelli <vasanthap@google.com>
9 changes: 9 additions & 0 deletions lib/player/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,15 @@ shaka.player.Player.prototype.enableAdaptation = function(enabled) {
};


/**
* @return {boolean} Return true if automatic bitrate adaptation enabled.
* @export
*/
shaka.player.Player.prototype.getAdaptationEnabled = function() {
return this.adaptationEnabled_;
};


/**
* @return {number} Current playback time in seconds.
* @export
Expand Down