diff --git a/recording/server.conf.in b/recording/server.conf.in index 46b5be7628b..10a61315f80 100644 --- a/recording/server.conf.in +++ b/recording/server.conf.in @@ -109,3 +109,11 @@ # The extension of the file for audio and video recordings. #extensionvideo = .webm + +[recording] +# Browser to use for recordings. Please note that the "chrome" value does not +# refer to the web browser, but to the Selenium WebDriver. In practice, "chrome" +# will use Google Chrome, or Chromium if Google Chrome is not installed. +# Allowed values: firefox, chrome +# Defaults to firefox +# browser = firefox diff --git a/recording/src/nextcloud/talk/recording/Service.py b/recording/src/nextcloud/talk/recording/Service.py index 530d5c7f073..ced940fed37 100644 --- a/recording/src/nextcloud/talk/recording/Service.py +++ b/recording/src/nextcloud/talk/recording/Service.py @@ -1,5 +1,6 @@ # # @copyright Copyright (c) 2023, Daniel Calviño Sánchez (danxuliu@gmail.com) +# @copyright Copyright (c) 2023, Elmer Miroslav Mosher Golovin (miroslav@mishamosher.com) # # @license GNU AGPL version 3 or any later version # @@ -188,8 +189,10 @@ def start(self, actorType, actorId): env = self._display.env() env['PULSE_SINK'] = audioSinkIndex + browser = config.getBrowserForRecording() + self._logger.debug("Starting participant") - self._participant = Participant('firefox', self.backend, width, height, env, self._logger) + self._participant = Participant(browser, self.backend, width, height, env, self._logger) self._logger.debug("Joining call") self._participant.joinCall(self.token)