Skip to content

Commit

Permalink
Add --disable-dev-shm-usage chrome flag to support large dimension vi…
Browse files Browse the repository at this point in the history
…deos.
  • Loading branch information
omartrigui committed Jun 22, 2020
1 parent 073d32c commit f58c63a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -euxo pipefail

main() {
log_i "Starting pulseaudio server"
Expand Down Expand Up @@ -37,7 +38,7 @@ launch_xvfb() {
}

launch_pulseaudio() {
pulseaudio -D --exit-idle-time=-1 &
pulseaudio -D --exit-idle-time=-1
}

launch_recorder() {
Expand Down
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ function getStartChromeCommand () {
'--disable-extensions ' +
'--autoplay-policy=no-user-gesture-required ' +
'--allow-running-insecure-content ' +
'--disable-features=TranslateUI"'
'--disable-features=TranslateUI"' +
'--disable-dev-shm-usage'
}

function getStartRecordingCommand () {
Expand Down

0 comments on commit f58c63a

Please sign in to comment.