switchStream(stream) {
    if (stream && stream !== this.stream_) {
      this.clearAll();
      this.stream_ = stream;
    }
  }
Called by Streaming Engine when switching variant.
@param {shaka.extern.Stream} stream
@public