static rejectContainer_(container) {
    if (window.MediaSource) {
      const isTypeSupported =
          // eslint-disable-next-line no-restricted-syntax
          MediaSource.isTypeSupported.bind(MediaSource);

      MediaSource.isTypeSupported = (mimeType) => {
        const actualContainer = shaka.util.MimeUtils.getContainerType(mimeType);
        return actualContainer != container && isTypeSupported(mimeType);
      };
    }

    if (window.ManagedMediaSource) {
      const isTypeSupportedManaged =
          // eslint-disable-next-line no-restricted-syntax
          ManagedMediaSource.isTypeSupported.bind(ManagedMediaSource);

      window.ManagedMediaSource.isTypeSupported = (mimeType) => {
        const actualContainer = shaka.util.MimeUtils.getContainerType(mimeType);
        return actualContainer != container && isTypeSupportedManaged(mimeType);
      };
    }
  }
Patch |MediaSource.isTypeSupported| to always reject |container|. This is
used when we know that we are on a platform that does not work well with
a given container.

@param {string} container
@private