Skip to content

Commit

Permalink
Initial Chromium support
Browse files Browse the repository at this point in the history
Signed-off-by: Elmer Miroslav Mosher Golovin <[email protected]>
  • Loading branch information
mishamosher committed May 16, 2023
1 parent 00fb712 commit 92e7c55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recording/src/nextcloud/talk/recording/Participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def startChrome(self, width, height, env):
"""
Starts a Chrome instance.
Will use Chromium is Google Chrome is not installed.
Will use Chromium if Google Chrome is not installed.
:param width: the width of the browser window.
:param height: the height of the browser window.
Expand All @@ -233,7 +233,6 @@ def startChrome(self, width, height, env):
options.add_argument('--kiosk')
options.add_argument(f'--window-size={width},{height}')
options.add_argument('--disable-infobars')
options.add_argument('--no-sandbox')
options.add_experimental_option("excludeSwitches", ["enable-automation"])

if disk_usage('/dev/shm').free < 2147483648:
Expand Down

0 comments on commit 92e7c55

Please sign in to comment.