fix(android): added setAllowChunklessPreparation to HlsMediaSource.Factory to allow build success on projects without HLS support (#3948) (#3950)

Co-authored-by: Darren Taft <darren.taft@bt.com>
This commit is contained in:
EETVApps 2024-06-28 10:43:55 +01:00 committed by GitHub
parent d4f1648681
commit 322d7e993d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,5 +30,9 @@ public class HlsMediaSource {
public MediaSource createMediaSource(MediaItem mediaItem) { public MediaSource createMediaSource(MediaItem mediaItem) {
return null; return null;
} }
public Factory setAllowChunklessPreparation(boolean allowChunklessPreparation) {
return this;
}
} }
} }