feat(android): allow chunckless preparation (#3882)
* feat(android): add a way to disable chuncklessPreparation on HLS
This commit is contained in:
@@ -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 |
|
||||
|
Reference in New Issue
Block a user