浏览代码

clear code

marinofaggiana 4 年之前
父节点
当前提交
76a814d101
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      iOSClient/Viewer/NCViewerVideoAudio/NCViewerVideoAudio.swift

+ 0 - 7
iOSClient/Viewer/NCViewerVideoAudio/NCViewerVideoAudio.swift

@@ -76,13 +76,6 @@ class NCViewerVideoAudio: AVPlayerViewController {
     override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
         
         if keyPath != nil && keyPath == "rate" {
-            
-            if player?.rate == 1 {
-                print("start")
-            } else {
-                print("pause")
-            }
-            
             NCKTVHTTPCache.shared.saveCache(metadata: metadata)
         }
     }