mirror of
https://github.com/yattee/yattee.git
synced 2025-12-03 06:38:15 +00:00
Fix stream state
This commit is contained in:
@@ -67,6 +67,8 @@ final class PlayerModel: ObservableObject {
|
||||
|
||||
func playVideo(_ video: Video) {
|
||||
if video.live {
|
||||
self.stream = nil
|
||||
|
||||
playHlsUrl(video)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user