HlsMediaStoreSettings.fromJson constructor
HlsMediaStoreSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory HlsMediaStoreSettings.fromJson(Map<String, dynamic> json) {
return HlsMediaStoreSettings(
connectionRetryInterval: json['connectionRetryInterval'] as int?,
filecacheDuration: json['filecacheDuration'] as int?,
mediaStoreStorageClass: (json['mediaStoreStorageClass'] as String?)
?.toHlsMediaStoreStorageClass(),
numRetries: json['numRetries'] as int?,
restartDelay: json['restartDelay'] as int?,
);
}