Browse Source

Update NCPlayer.swift

Marino Faggiana 1 year ago
parent
commit
57a7a53f26
1 changed files with 0 additions and 7 deletions
  1. 0 7
      iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

+ 0 - 7
iOSClient/Viewer/NCViewerMedia/NCPlayer/NCPlayer.swift

@@ -169,13 +169,6 @@ class NCPlayer: NSObject {
 
         NCManageDatabase.shared.addVideo(metadata: metadata, position: position)
     }
-
-    func snapshot() {
-
-        if let player = player, let width = width, let height = height {
-            player.saveVideoSnapshot(at: fileNamePreviewLocalPath, withWidth: Int32(width), andHeight: Int32(height))
-        }
-    }
 }
 
 extension NCPlayer: VLCMediaPlayerDelegate {