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

41 lines
684 B
Dart
Raw Normal View History

2020-05-31 23:36:23 +02:00
import 'package:http_parser/http_parser.dart';
abstract class StreamInfoProvider {
static final contentLenExp = RegExp(r'clen=(\d+)');
int get tag;
String get url;
// Can be null
String get signature => null;
// Can be null
String get signatureParameter => null;
// Can be null
int get contentLength => null;
int get bitrate;
String get container;
// Can be null
String get audioCodec => null;
// Can be null
String get videoCodec => null;
// Can be null
String get videoQualityLabel => null;
// Can be null
int get videoWidth => null;
// Can be null
int get videoHeight => null;
// Can be null
int get framerate => null;
}