NativeLensStreamProbeOptions constructor

const NativeLensStreamProbeOptions({
  1. Duration timeout = const Duration(seconds: 8),
  2. bool followRedirects = true,
  3. int maxRedirects = 5,
  4. int maxManifestBytes = 1024 * 1024,
  5. int extractSegmentLimit = 5,
  6. int extractVariantLimit = 10,
  7. bool requireHttps = false,
  8. List<String> allowedSchemes = const <String>['http', 'https'],
  9. Map<String, String> headers = const <String, String>{},
})

Creates stream probe options.

Implementation

const NativeLensStreamProbeOptions({
  this.timeout = const Duration(seconds: 8),
  this.followRedirects = true,
  this.maxRedirects = 5,
  this.maxManifestBytes = 1024 * 1024,
  this.extractSegmentLimit = 5,
  this.extractVariantLimit = 10,
  this.requireHttps = false,
  this.allowedSchemes = const <String>['http', 'https'],
  this.headers = const <String, String>{},
});