Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed Dec 26, 2024
1 parent 9a74379 commit c6b4aaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/local-recording.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ while true
do
((COUNT++))
FILENAME=/data/local/tmp/recordings/testRecording$COUNT.mp4
echo "Recording video file #$COUNT"
echo "\nRecording video file #$COUNT"
screenrecord --bugreport --bit-rate=16m --size 720x1280 $FILENAME
done
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SCREENRECORD_PID=$(adb shell ps | grep screenrecord | awk '{print $2}')
while [ ! -z $SCREENRECORD_PID ]; do
echo "Waiting for screen recording ($SCREENRECORD_PID) to finish..."
adb shell "kill -2 $SCREENRECORD_PID"
sleep 5
sleep 1
SCREENRECORD_PID=$(adb shell ps | grep screenrecord | awk '{print $2}')
done

Expand Down

0 comments on commit c6b4aaa

Please sign in to comment.