Skip to content

Commit

Permalink
[video_player_avplay] Add notes for creating dash player (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowei-guan authored Apr 24, 2024
1 parent 3cfb822 commit dd3d3fb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/video_player_avplay/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

* Add notes for creating dash player.

## 0.4.1

* Fix new lint warnings.
Expand Down
7 changes: 7 additions & 0 deletions packages/video_player_avplay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ Note that `video_player_avplay` uses a compiled dynamic library, the api-version
<manifest package="xxx" version="1.0.0" api-version="6.0">
```

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
Expand Down

0 comments on commit dd3d3fb

Please sign in to comment.