diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-02-08 13:42:31 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2023-02-22 13:09:26 +0100 |
commit | 87b20311b0ae075c0a99a09b24a10b0aa3706351 (patch) | |
tree | 1e2a4a74396cdc584b87bf9f2eb3614d4fa9aaaa /lib/Activity | |
parent | 3a397142c247c2d1acbb56999965c4e8eedbefc1 (diff) |
Include participant in start/stop requests to the recording server
The participant will be in turn forwarded again to the Nextcloud server
once notified that the recording started or stopped so it retains the
proper participant (for example, in system messages) rather than using
the recording server.
The actor is optional when stopping the recording, as the recording
could be implicitly stopped when the last participant leaves the call.
Nevertheless, this causes the system message to be assigned to a guest
(as the request comes from the recording server), which is unexpected,
so this may need to be adjusted.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib/Activity')
-rw-r--r-- | lib/Activity/Listener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Activity/Listener.php b/lib/Activity/Listener.php index 52a54725e..3dee14ddc 100644 --- a/lib/Activity/Listener.php +++ b/lib/Activity/Listener.php @@ -151,7 +151,7 @@ class Listener { } if ($room->getCallRecording() !== Room::RECORDING_NONE) { - $this->recordingService->stop($room); + $this->recordingService->stop($room, $actor); } if ($actor instanceof Participant) { $actorId = $actor->getAttendee()->getActorId(); |