Browse Source

clear code

marinofaggiana 4 years ago
parent
commit
76a814d101
1 changed files with 0 additions and 7 deletions
  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)
         }
     }