File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 7676 du -hs /home/runner/work
7777 cd /home/runner/work
7878 du -s *|sort -n
79+
80+ - name : install deps for fake webcam
81+ run : |
82+ sudo apt-get install v4l2loopback-utils ffmpeg
83+ sudo apt-get install linux-modules-extra-$(uname -r)
84+
85+ - name : start fake webcam
86+ run : |
87+ pwd
88+ git clone https://github.com/whokilleddb/Fake-Stream
89+ cd Fake-Stream/
90+ ls -al
91+ pwd
92+ sudo modprobe v4l2loopback card_label="My Fake Webcam" video_nr=10 devices=1 exclusive_caps=1
93+ sleep 2
94+ ls -al /dev/video*
95+ sudo ffmpeg -stream_loop -1 -re -i ./test.mp4 -vcodec rawvideo -threads 0 -f v4l2 /dev/video10 &
96+ sleep 10
97+ sudo chmod a+rw /dev/video*
98+ ls -al /dev/video*
99+
79100 - name : android test
80101 timeout-minutes : 40
81102 continue-on-error : true
87108 ndk : 21.0.6113669
88109 cmake : 3.10.2.4988404
89110 force-avd-creation : false
90- emulator-options : -no-snapshot-save -skin 1080x2220 -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back virtualscene -camera-front emulated
111+ emulator-options : -no-snapshot-save -skin 1080x2220 -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back virtualscene -camera-front webcam0
91112 disable-animations : true
92113 disable-spellchecker : true
93114 pre-emulator-launch-script : |
You can’t perform that action at this time.
0 commit comments