Go to file
2023-02-03 15:50:27 +01:00
.github Update code to match the Nextcloud coding style and add php-cs-fixer check to lint workflow. Fixes #11 (#13) 2021-09-08 15:41:48 +02:00
.vscode Remove deprecated vscode extension as recommended 2021-12-26 22:37:35 +01:00
appinfo Add support for NC25 (#26) 2023-02-03 15:50:27 +01:00
css Update code to match the Nextcloud coding style and add php-cs-fixer check to lint workflow. Fixes #11 (#13) 2021-09-08 15:41:48 +02:00
js Update code to match the Nextcloud coding style and add php-cs-fixer check to lint workflow. Fixes #11 (#13) 2021-09-08 15:41:48 +02:00
lib Increase curl timeout (#24) 2022-11-04 01:10:13 +01:00
templates Allow connecting to Talked server over a unix socket. Fixes #9 2021-09-06 14:39:47 +02:00
.editorconfig Update code to match the Nextcloud coding style and add php-cs-fixer check to lint workflow. Fixes #11 (#13) 2021-09-08 15:41:48 +02:00
.gitignore Add github workflows and issue templates, update readme, add editorconfig, add package.json for prettier and stylelint as well as config files for those. Add Makefile for handling releases. 2021-08-23 14:21:22 +02:00
.php_cs.dist Initial command 2021-08-09 16:29:29 +02:00
.prettierrc Add github workflows and issue templates, update readme, add editorconfig, add package.json for prettier and stylelint as well as config files for those. Add Makefile for handling releases. 2021-08-23 14:21:22 +02:00
.stylelintrc.json Add github workflows and issue templates, update readme, add editorconfig, add package.json for prettier and stylelint as well as config files for those. Add Makefile for handling releases. 2021-08-23 14:21:22 +02:00
CHANGELOG.md Add support for NC25 (#26) 2023-02-03 15:50:27 +01:00
composer.json Update composer dependencies (#22) 2022-05-19 13:52:38 +02:00
composer.lock Update composer dependencies (#22) 2022-05-19 13:52:38 +02:00
LICENSE Initial commit 2021-08-09 13:33:33 +02:00
Makefile Add github workflows and issue templates, update readme, add editorconfig, add package.json for prettier and stylelint as well as config files for those. Add Makefile for handling releases. 2021-08-23 14:21:22 +02:00
package-lock.json Update changelog and update dev dependencies 2022-01-05 20:52:01 +01:00
package.json Update changelog and update dev dependencies 2022-01-05 20:52:01 +01:00
README.md Add support for providing arguments to the start recording command (#15) 2021-09-30 21:11:33 +02:00

Talked client

Call recording for Nextcloud Talk. This app provides a chat based interface to interact with the Talked server component that handles the actual recording.

Check out the Talked server repo for more information on how this works and what the current limitations are.

Installation and setup

It's available in the Nextcloud app store, just search for Talked and you should be able to find it.

Or you can clone this repo into your app folder and enable it in the app menu in Nextcloud.

Register chat command

To use the chat command to interact with the Talked server, the command first needs to be registered with Talk. You can register a command using the occ command. The exact command depends on how you have installed Nextcloud. Below I'll have an example for the official docker container and the snap. For more information about registering a chat command, check out the Talk documenation: https://nextcloud-talk.readthedocs.io/en/latest/commands/

You will find two examples for both the docker container and snap. The only difference is whether you want to allow all registered users in a room to start a recording, or only the moderators.

Docker container

Only moderators can use
php occ talk:command:add recording Talked "php /var/www/html/occ talked:record {ROOM} {ARGUMENTS}" 2 1
All registered users can use
php occ talk:command:add recording Talked "php /var/www/html/occ talked:record {ROOM} {ARGUMENTS}" 2 2

Snap

Only moderators can use
occ talk:command:add recording Talked "php /var/www/html/occ talked:record {ROOM} {ARGUMENTS}" 2 1
All registered users can use
occ talk:command:add recording Talked "php /var/www/html/occ talked:record {ROOM} {ARGUMENTS}" 2 2

Configuring Talked

After you have registered the Talk command you should configure Talked. If you head to Admin settings > Talk, then you will find the settings for Talked near the bottom. Here you can specify the URI for your Talked server and whether to use HTTP Basic auth, and the credentials for HTTP Basic auth.

The http / https should be included in the url, for example: https://talked.example.com

You can also connect to the Talked server over a unix socket. To specify the path to a unix socket prefix the path with unix: for example: unix:/tmp/talked.sock.

Please note that abstract sockets aren't supported.

Usage

To use Talked, simply use the /recording command in a chat room. If you don't specify any options or run /recording help you will get a help message telling you about the different options. The following options are available:

  • /recording start - starts a recording in the current room.
  • /recording stop - stops the active recording.
  • /recording status - checks if there is an active recording.
  • /recording info - prints the version number of the Talked server.
  • /recording help - prints a help message with the different options.

Audio only

When starting a recording you can also supply a audio_only options which allows you to configure whether the recording should be with or without video. The default is to record with video, so to record just audio you could use the following start command:

/recording start audio_only=true

If you have the changed the default to be audio only recordings you can simply change the true to false to create a recording with video.

License

This program is licensed under the AGPLv3 or later.