From dd3d3fb2ff44c8837a84ccfcdfd9c85cdef05030 Mon Sep 17 00:00:00 2001 From: xiaowei guan <60122246+xiaowei-guan@users.noreply.github.com> Date: Wed, 24 Apr 2024 19:51:19 +0800 Subject: [PATCH] [video_player_avplay] Add notes for creating dash player (#678) --- packages/video_player_avplay/CHANGELOG.md | 4 ++++ packages/video_player_avplay/README.md | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/packages/video_player_avplay/CHANGELOG.md b/packages/video_player_avplay/CHANGELOG.md index 527d3e2dc..4893fc8fd 100644 --- a/packages/video_player_avplay/CHANGELOG.md +++ b/packages/video_player_avplay/CHANGELOG.md @@ -1,3 +1,7 @@ +## NEXT + +* Add notes for creating dash player. + ## 0.4.1 * Fix new lint warnings. diff --git a/packages/video_player_avplay/README.md b/packages/video_player_avplay/README.md index 15ac3e182..887e203fa 100644 --- a/packages/video_player_avplay/README.md +++ b/packages/video_player_avplay/README.md @@ -29,6 +29,13 @@ Note that `video_player_avplay` uses a compiled dynamic library, the api-version ``` +Note that if you play dash streams, please add dash format when creating the player: +```dart + VideoPlayerController.network( + 'https://xxx.mpd', + formatHint: VideoFormat.dash); +``` + ### Example ```dart