mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
Update CustomPlayer.swift
This commit is contained in:
parent
b59420efb0
commit
86a408afd9
1 changed files with 1 additions and 1 deletions
|
|
@ -2150,7 +2150,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
guard let url = URL(string: streamURL) else { return }
|
||||
let streamType = module.metadata.streamType.lowercased()
|
||||
|
||||
if url.absoluteString.contains(".m3u8") || url.absoluteString.contains(".m3u")) {
|
||||
if url.absoluteString.contains(".m3u8") || url.absoluteString.contains(".m3u") {
|
||||
isHLSStream = true
|
||||
baseM3U8URL = url
|
||||
currentQualityURL = url
|
||||
|
|
|
|||
Loading…
Reference in a new issue