static checkAudioSupport_(audioConfig) {
    const device = shaka.device.DeviceFactory.getDevice();
    const deviceType = device.getDeviceType();
    let extendedType = audioConfig.contentType;
    if (deviceType === shaka.device.IDevice.DeviceType.CAST &&
        audioConfig.spatialRendering) {
      extendedType += '; spatialRendering=true';
    }
    return shaka.media.Capabilities.isTypeSupported(extendedType);
  }
@param {!AudioConfiguration} audioConfig The 'audio' field of the
  MediaDecodingConfiguration.
@return {boolean}
@private