diff --git a/AUTHORS b/AUTHORS index 65c4ca6e07..880594cca5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -14,3 +14,4 @@ # Please keep the list sorted. Google Inc. <*@google.com> +Sanborn Hilland diff --git a/CONTRIBUTORS b/CONTRIBUTORS index dd226b72d4..eeb84ea057 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -24,5 +24,6 @@ Joey Parrish Natalie Harris +Sanborn Hilland Timothy Drews Vasanth Polipelli diff --git a/lib/player/player.js b/lib/player/player.js index 8a92a85af8..87e6ba31c3 100644 --- a/lib/player/player.js +++ b/lib/player/player.js @@ -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