Skip to content

Conversation

@allengotstuff
Copy link
Member

@allengotstuff allengotstuff commented Jul 16, 2019

Open issue: #98

Problem:

Currently, we hardcore the MediaModel to only accept .m3u8 format, that puts the limitation of Tubiplayer only accept hls video format.

solution

By removing the hardcode getMediaExtension is MediaModel, the Tubiplayer will automatically create different MediaSource base on url extension.

See below logic for handle automatically MediaSource creation: https://github.com/Tubitv/TubiPlayer/blob/master/lib/src/main/java/com/tubitv/media/activities/TubiPlayerActivity.java#L202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants