Dartfmt
This commit is contained in:
parent
73899be332
commit
727211ee05
|
@ -4,6 +4,7 @@ import 'models.dart';
|
|||
class AudioStreamInfo extends MediaStreamInfo {
|
||||
/// Bitrate (bits/s) of the associated stream.
|
||||
final int bitrate;
|
||||
|
||||
/// Audio encoding of the associated stream.
|
||||
final AudioEncoding audioEncoding;
|
||||
|
||||
|
|
|
@ -15,4 +15,4 @@ export 'video.dart';
|
|||
export 'video_encoding.dart';
|
||||
export 'video_quality.dart';
|
||||
export 'video_resolution.dart';
|
||||
export 'video_stream_info.dart';
|
||||
export 'video_stream_info.dart';
|
||||
|
|
|
@ -32,8 +32,7 @@ class YoutubeExplode {
|
|||
/// Use this to extract the muxed, audio and video streams from a video.
|
||||
Future<MediaStreamInfoSet> getVideoMediaStream(String videoId) async {
|
||||
if (!validateVideoId(videoId)) {
|
||||
throw ArgumentError.value(
|
||||
videoId, 'videoId', 'Invalid video id');
|
||||
throw ArgumentError.value(videoId, 'videoId', 'Invalid video id');
|
||||
}
|
||||
|
||||
var playerConfiguration = await getPlayerConfiguration(videoId);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: youtube_explode_dart
|
||||
description: A port in dart of the youtube explode library.
|
||||
description: A port in dart of the youtube explode library. Support serveral API functions.
|
||||
version: 0.0.1
|
||||
homepage: https://github.com/Hexer10/youtube_explode_dart
|
||||
|
||||
|
|
Loading…
Reference in New Issue