mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 14:50:30 +05:30
fix: playback of live videos
This commit is contained in:
parent
81b8caa077
commit
77fd3e9288
@ -1339,8 +1339,8 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
||||
MimeTypes.APPLICATION_M3U8
|
||||
)
|
||||
)
|
||||
exoPlayer.setMediaSource(mediaSource)
|
||||
ProxyHelper.unwrapStreamUrl(streams.hls!!).toUri() to MimeTypes.APPLICATION_M3U8
|
||||
withContext(Dispatchers.Main) { exoPlayer.setMediaSource(mediaSource) }
|
||||
return
|
||||
}
|
||||
// NO STREAM FOUND
|
||||
else -> {
|
||||
|
Loading…
Reference in New Issue
Block a user