youtube_explode/lib/src/reverse_engineering/models/stream_info_provider.dart

50 lines
660 B
Dart

enum StreamSource { muxed, adaptive, dash }
///
abstract class StreamInfoProvider {
///
static final RegExp contentLenExp = RegExp(r'clen=(\d+)');
///
StreamSource get source;
///
int get tag;
///
String get url;
///
String? get signature => null;
///
String? get signatureParameter => null;
///
int? get contentLength => null;
///
int? get bitrate;
///
String? get container;
///
String? get audioCodec => null;
///
String? get videoCodec => null;
///
String? get videoQualityLabel;
///
int? get videoWidth => null;
///
int? get videoHeight => null;
///
int? get framerate => null;
}