Marino Faggiana 1 год назад
Родитель
Сommit
57a7a53f26
1 измененных файлов с 0 добавлено и 7 удалено
  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 {