SourceConfig constructor
const
SourceConfig({ - required String url,
- required SourceType type,
- String? title,
- String? description,
- List<String>? audioCodecPriority,
- bool isPosterPersistent = false,
- String? posterSource,
- List<SubtitleTrack>? subtitleTracks = const [],
- ThumbnailTrack? thumbnailTrack,
- List<String>? videoCodecPriority,
- SourceOptions options = const SourceOptions(),
- DrmConfig? drmConfig,
- SourceMetadata? analyticsSourceMetadata,
})
Implementation
const SourceConfig({
required this.url,
required this.type,
this.title,
this.description,
this.audioCodecPriority,
this.isPosterPersistent = false,
this.posterSource,
this.subtitleTracks = const [],
this.thumbnailTrack,
this.videoCodecPriority,
this.options = const SourceOptions(),
this.drmConfig,
this.analyticsSourceMetadata,
});