Compare commits

...

2 Commits

Author SHA1 Message Date
Alex Berezhkovsky 140cf9d600
Merge 72287ce89e into a11ccf9c49 2024-09-23 19:25:45 +05:30
Alex Berezhkovsky 72287ce89e
add elif for pygrabber import 2024-08-18 18:33:46 +05:00
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ import pyvirtualcam
# Import OS-specific modules only when necessary
if platform.system() == 'Darwin': # macOS
import AVFoundation
elif platform.system() == 'Windows' or platform.system() == 'Linux':
from pygrabber.dshow_graph import FilterGraph
# Import Windows specific modules only when on windows platform
if platform.system() == 'Windows' or platform.system() == 'Linux': # Windows or Linux