static registerDeviceFactory(deviceFactory) {
    goog.asserts.assert(!shaka.device.DeviceFactory.factory_,
        'Device Factory should NOT be defined');
    shaka.device.DeviceFactory.factory_ = deviceFactory;
  }
@param {?function(): shaka.device.IDevice} deviceFactory