How to switch player to another media source factory
Open
@marcbaechinger is already working on this.
Since Aug 22, 2023.
question
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
On one page i have m3u8 format tracks and when i create player instance i set .setMediaSourceFactory(HlsMediaSource.Factory(DefaultHttpDataSource.Factory()))
if i want to play mp3 tracks from second page i need to use DefaultMediaSourceFactory(context), is it possible to switch between factories? Or exist another solutions?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.