Fix stream state

This commit is contained in:
Arkadiusz Fal
2021-10-14 00:10:29 +02:00
parent 2c275d9353
commit a68d89cb6f
5 changed files with 12 additions and 1 deletions

View File

@@ -67,6 +67,8 @@ final class PlayerModel: ObservableObject {
func playVideo(_ video: Video) {
if video.live {
self.stream = nil
playHlsUrl(video)
return
}