- removed unused import statements

- added macOS specific required library to requirements.txt
- conditional import of pygrabber, which is unavailable for macOS
pull/615/head
Michael 2024-09-22 17:55:26 +01:00
parent 0d4676591e
commit 5cabbffda8
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import pyvirtualcam
if platform.system() == 'Darwin': # macOS
import AVFoundation
# Import Windows specific modules only when on windows platform
if os.name == 'nt': # Windows
from pygrabber.dshow_graph import FilterGraph