addMimeType_(segmentLoader, defaultCodecs, media) {
    let mimeType = 'video/mp2t';

    // if the codecs were explicitly specified, pass them along to the
    // source buffer
    if (media.attributes && media.attributes.CODECS) {
      mimeType += '; codecs="' + media.attributes.CODECS + '"';
    } else {
      mimeType += '; codecs="' + defaultCodecs + '"';
    }
    segmentLoader.mimeType(mimeType);
  }
/**
   * add a time type to a segmentLoader
   *
   * @param {SegmentLoader} segmentLoader the segmentloader to work on
   * @param {String} codecs to use by default
   * @param {Object} the parsed media object
   * @private
   */
add a time type to a segmentLoader
@param {SegmentLoader} segmentLoader the segmentloader to work on
@param {String} codecs to use by default
@param {Object} the parsed media object
@private
add a time type to a segmentLoader @param { SegmentLoader } segmentLoader the segmentloader to work on @param { String } codecs to use by default @param { Object } the parsed media object @private
addMimeType_(segmentLoader, defaultCodecs, media) {
    let mimeType = 'video/mp2t';
    if (media.attributes && media.attributes.CODECS) {
      mimeType += '; codecs="' + media.attributes.CODECS + '"';
    } else {
      mimeType += '; codecs="' + defaultCodecs + '"';
    }
    segmentLoader.mimeType(mimeType);
  }
addMimeType_ ( segmentLoader , defaultCodecs , media ) { let mimeType = 'video/mp2t' ; if ( media . attributes && media . attributes . CODECS ) { mimeType += '; codecs="' + media . attributes . CODECS + '"' ; } else { mimeType += '; codecs="' + defaultCodecs + '"' ; } segmentLoader . mimeType ( mimeType ) ; }
add a time type to a segmentLoader
 @param {SegmentLoader} segmentLoader the segmentloader to work on
 @param {String} codecs to use by default
 @param {Object} the parsed media object
 @private
add a time type to a segmentLoader @param { SegmentLoader } segmentLoader the segmentloader to work on @param { String } codecs to use by default @param { Object } the parsed media object @private
// if the codecs were explicitly specified, pass them along to the // source buffer