MediaCapabilitiesKeySystemConfiguration constructor
MediaCapabilitiesKeySystemConfiguration({
- required String keySystem,
- String? initDataType,
- MediaKeysRequirement? distinctiveIdentifier,
- MediaKeysRequirement? persistentState,
- Iterable<
String> ? sessionTypes, - KeySystemTrackConfiguration? audio,
- KeySystemTrackConfiguration? video,
Implementation
factory MediaCapabilitiesKeySystemConfiguration(
{required String keySystem,
String? initDataType,
MediaKeysRequirement? distinctiveIdentifier,
MediaKeysRequirement? persistentState,
Iterable<String>? sessionTypes,
KeySystemTrackConfiguration? audio,
KeySystemTrackConfiguration? video}) =>
MediaCapabilitiesKeySystemConfiguration._(
keySystem: keySystem,
initDataType: initDataType ?? '',
distinctiveIdentifier: distinctiveIdentifier?.value ??
MediaKeysRequirement.optional.value,
persistentState:
persistentState?.value ?? MediaKeysRequirement.optional.value,
sessionTypes: sessionTypes ?? undefined,
audio: audio ?? undefined,
video: video ?? undefined);