Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Fix audio for video recordings for chrome #646

Merged
merged 4 commits into from
Oct 26, 2023

Conversation

misi
Copy link
Contributor

@misi 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
@misi misi changed the title Fix audio for video recordings Fix audio for video recordings for chrome Oct 24, 2023
@misi misi mentioned this pull request Oct 24, 2023
@@ -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
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in bd76c3c

@misi misi requested a review from vania-pooh October 25, 2023 10:05
@@ -8,5 +8,7 @@ COPY entrypoint.sh /

USER selenium

RUN echo "cookie-file = ~/.config/pulse/cookie" >> /etc/pulse/client.conf
Copy link
Member

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?

Copy link
Contributor Author

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 misi requested a review from vania-pooh October 26, 2023 16:34
@vania-pooh vania-pooh merged commit 05e45b3 into aerokube:master Oct 26, 2023
1 check passed
@vania-pooh
Copy link
Member

@misi squashed and merged. thank you for contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants