playlist(media, options = {}) {
    if (!media) {
      return;
    }

    this.playlist_ = media;
    this.xhrOptions_ = options;

    // if we were unpaused but waiting for a playlist, start
    // buffering now
    if (this.mimeType_ && this.state === 'INIT' && !this.paused()) {
      return this.init_();
    }
  }
/**
   * set a playlist on the segment loader
   *
   * @param {PlaylistLoader} media the playlist to set on the segment loader
   */
set a playlist on the segment loader
@param {PlaylistLoader} media the playlist to set on the segment loader
set a playlist on the segment loader @param { PlaylistLoader } media the playlist to set on the segment loader
playlist(media, options = {}) {
    if (!media) {
      return;
    }
    this.playlist_ = media;
    this.xhrOptions_ = options;
    if (this.mimeType_ && this.state === 'INIT' && !this.paused()) {
      return this.init_();
    }
  }
playlist ( media , options = { } ) { if ( ! media ) { return ; } this . playlist_ = media ; this . xhrOptions_ = options ; if ( this . mimeType_ && this . state === 'INIT' && ! this . paused ( ) ) { return this . init_ ( ) ; } }
set a playlist on the segment loader
 @param {PlaylistLoader} media the playlist to set on the segment loader
set a playlist on the segment loader @param { PlaylistLoader } media the playlist to set on the segment loader
// if we were unpaused but waiting for a playlist, start // buffering now