mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
HLS video improvements
This commit is contained in:
@@ -58,6 +58,10 @@ private final class SystemVideoContentNode: ASDisplayNode, UniversalVideoContent
|
||||
return self._bufferingStatus.get()
|
||||
}
|
||||
|
||||
var isNativePictureInPictureActive: Signal<Bool, NoError> {
|
||||
return .single(false)
|
||||
}
|
||||
|
||||
private let _ready = Promise<Void>()
|
||||
var ready: Signal<Void, NoError> {
|
||||
return self._ready.get()
|
||||
@@ -308,5 +312,12 @@ private final class SystemVideoContentNode: ASDisplayNode, UniversalVideoContent
|
||||
|
||||
func setCanPlaybackWithoutHierarchy(_ canPlaybackWithoutHierarchy: Bool) {
|
||||
}
|
||||
|
||||
func enterNativePictureInPicture() -> Bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func exitNativePictureInPicture() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user