UNetworkSource constructor
UNetworkSource(
- String url, {
- String? id,
- UMediaMetadata? metadata,
- Map<
String, String> headers = const <String, String>{}, - String? userAgent,
- UStreamProtocol? protocol,
- Duration? startPosition,
- Duration? endPosition,
- List<
UExternalSubtitle> externalSubtitles = const <UExternalSubtitle>[], - UDrmConfig? drm,
Implementation
UNetworkSource(
this.url, {
String? id,
super.metadata,
this.headers = const <String, String>{},
this.userAgent,
this.protocol,
super.startPosition,
super.endPosition,
super.externalSubtitles,
super.drm,
}) : super(id: id ?? url);