diff --git a/lib/src/models/audio_stream_info.dart b/lib/src/models/audio_stream_info.dart index 89f31fa..76599a9 100644 --- a/lib/src/models/audio_stream_info.dart +++ b/lib/src/models/audio_stream_info.dart @@ -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; diff --git a/lib/src/models/models.dart b/lib/src/models/models.dart index 688b4bc..278b823 100644 --- a/lib/src/models/models.dart +++ b/lib/src/models/models.dart @@ -15,4 +15,4 @@ export 'video.dart'; export 'video_encoding.dart'; export 'video_quality.dart'; export 'video_resolution.dart'; -export 'video_stream_info.dart'; \ No newline at end of file +export 'video_stream_info.dart'; diff --git a/lib/src/youtube_explode_base.dart b/lib/src/youtube_explode_base.dart index df2112f..721e599 100644 --- a/lib/src/youtube_explode_base.dart +++ b/lib/src/youtube_explode_base.dart @@ -32,8 +32,7 @@ class YoutubeExplode { /// Use this to extract the muxed, audio and video streams from a video. Future 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); diff --git a/pubspec.yaml b/pubspec.yaml index 831153a..af2c3dd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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