feat(android): allow chunckless preparation (#3882)

* feat(android): add a way to disable chuncklessPreparation on HLS
This commit is contained in:
Olivier Bouillet
2024-06-07 14:06:46 +02:00
committed by GitHub
parent ac0a9c3e3a
commit d4a8c24f65
5 changed files with 27 additions and 2 deletions

View File

@@ -753,7 +753,7 @@ source={{ uri: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8'
#### Overriding the metadata of a source
<PlatformsList types={['Android, iOS, tvOS']} />
<PlatformsList types={['Android', 'iOS', 'tvOS']} />
Provide an optional `title`, `subtitle`, `artist`, `imageUri` and/or `description` properties for the video.
Useful when using notification controls on Android or iOS or to adapt the tvOS playback experience.
@@ -773,6 +773,21 @@ source={{
}}
```
#### `textTracksAllowChunklessPreparation`
<PlatformsList types={['Android']} />
AllowChunklessPreparation for hls media source.
see: [disabling-chunkless](https://developer.android.com/media/media3/exoplayer/hls?#disabling-chunkless) in android documentation.
Default value: true.
```javascript
source={{
uri: 'https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
textTracksAllowChunklessPreparation: false,
}}
```
### `subtitleStyle`
| Property | Description | Platforms |