-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting for selecting recording browser
Signed-off-by: Elmer Miroslav Mosher Golovin <[email protected]>
- Loading branch information
1 parent
ff159f6
commit 9cb4042
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# | ||
# @copyright Copyright (c) 2023, Daniel Calviño Sánchez ([email protected]) | ||
# @copyright Copyright (c) 2023, Elmer Miroslav Mosher Golovin ([email protected]) | ||
# | ||
# @license GNU AGPL version 3 or any later version | ||
# | ||
|
@@ -236,4 +237,12 @@ def getFfmpegExtensionVideo(self): | |
""" | ||
return self._configParser.get('ffmpeg', 'extensionvideo', fallback='.webm') | ||
|
||
def getBrowserForRecording(self): | ||
""" | ||
Returns the browser identifier that will be used for recordings. | ||
Defaults to "firefox". | ||
""" | ||
return self._configParser.get('recording', 'browser', fallback='firefox') | ||
|
||
config = Config() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# | ||
# @copyright Copyright (c) 2023, Daniel Calviño Sánchez ([email protected]) | ||
# @copyright Copyright (c) 2023, Elmer Miroslav Mosher Golovin ([email protected]) | ||
# | ||
# @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) | ||
|