NativeLensStreamProbeOptions constructor
const
NativeLensStreamProbeOptions({
- Duration timeout = const Duration(seconds: 8),
- bool followRedirects = true,
- int maxRedirects = 5,
- int maxManifestBytes = 1024 * 1024,
- int extractSegmentLimit = 5,
- int extractVariantLimit = 10,
- bool checkFirstHlsSegment = false,
- bool requireHttps = false,
- List<
String> allowedSchemes = const <String>['http', 'https'], - 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.checkFirstHlsSegment = false,
this.requireHttps = false,
this.allowedSchemes = const <String>['http', 'https'],
this.headers = const <String, String>{},
});