feat(android): implement asset folder playback (#3733)

* fix(ts): onPlaybackRateChangeData was not correctly typed

* fix: ensure tracks are well displayed in the sample

* feat(android): implement playback from asset folder

* chore(android): fix linter

* chore: move sample mp4 from package assets to exemple assets
This commit is contained in:
Olivier Bouillet
2024-05-06 21:51:17 +02:00
committed by GitHub
parent 51e22abfe3
commit e05da4e9fe
7 changed files with 46 additions and 49 deletions

View File

@@ -170,6 +170,10 @@ class VideoPlayer extends Component {
description: 'Another live sample',
uri: 'https://live.forstreet.cl/live/livestream.m3u8',
},
{
description: 'asset file',
uri: 'asset:///broadchurch.mp4',
},
{
description: '(dash) sintel subtitles',
uri: 'https://bitmovin-a.akamaihd.net/content/sintel/sintel.mpd',