소스 검색

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)
         }
     }