-
Notifications
You must be signed in to change notification settings - Fork 133
Fix audio for video recordings for chrome #646
Conversation
misi
commented
Oct 24, 2023
- Use the default working and config dir ~/.config/pulse
- Add global pulse client.conf the cookie
* use the default working and config dir ~/.config/pulse
static/chrome/Dockerfile
Outdated
@@ -22,6 +22,8 @@ COPY entrypoint.sh / | |||
RUN \ | |||
chmod +x /usr/bin/chromedriver && \ | |||
chown -R selenium:nogroup /etc/opt/chrome/policies/managed/ | |||
|
|||
RUN echo "cookie-file = ~/.config/pulse/cookie" >> /etc/pulse/client.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's append this echo
call to previous RUN section. Apply the same fix for all Dockerfiles. All the rest looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in bd76c3c
@@ -8,5 +8,7 @@ COPY entrypoint.sh / | |||
|
|||
USER selenium | |||
|
|||
RUN echo "cookie-file = ~/.config/pulse/cookie" >> /etc/pulse/client.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you are creating config file as user selenium
, whereas for chrome, opera and yandex - under root
. Shouldn't this behavior be the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sorry, my bad. Great catch! Fixed it in 4349064. 🙏
@misi squashed and merged. thank you for contribution! |