diff options
author | Vitor Mattos <vitor@php.rio> | 2022-12-07 22:45:57 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-12-09 17:02:08 -0300 |
commit | db88acf9beb04ab6bf1b7d423bcad0c5ad21c542 (patch) | |
tree | 37f1ed6fe23081b7132d51f03e1fab4431dac33f /lib/Room.php | |
parent | edb7df03562c93fdfe65fe66b921498fb1b59968 (diff) |
Toggle call recording status
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Room.php')
-rw-r--r-- | lib/Room.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/Room.php b/lib/Room.php index df5d88143..7725c4c0b 100644 --- a/lib/Room.php +++ b/lib/Room.php @@ -147,6 +147,8 @@ class Room { public const EVENT_AFTER_SET_BREAKOUT_ROOM_MODE = self::class . '::afterSetBreakoutRoomMode'; public const EVENT_BEFORE_SET_BREAKOUT_ROOM_STATUS = self::class . '::beforeSetBreakoutRoomStatus'; public const EVENT_AFTER_SET_BREAKOUT_ROOM_STATUS = self::class . '::afterSetBreakoutRoomStatus'; + public const EVENT_BEFORE_SET_CALL_RECORDING = self::class . '::beforeSetCallRecording'; + public const EVENT_AFTER_SET_CALL_RECORDING = self::class . '::afterSetCallRecording'; public const EVENT_BEFORE_AVATAR_SET = self::class . '::preSetAvatar'; public const EVENT_AFTER_AVATAR_SET = self::class . '::postSetAvatar'; @@ -185,6 +187,7 @@ class Room { private string $objectId; private int $breakoutRoomMode; private int $breakoutRoomStatus; + private int $callRecording; protected ?string $currentUser = null; protected ?Participant $participant = null; @@ -220,7 +223,8 @@ class Room { string $objectType, string $objectId, int $breakoutRoomMode, - int $breakoutRoomStatus) { + int $breakoutRoomStatus, + int $callRecording) { $this->manager = $manager; $this->db = $db; $this->dispatcher = $dispatcher; @@ -253,6 +257,7 @@ class Room { $this->objectId = $objectId; $this->breakoutRoomMode = $breakoutRoomMode; $this->breakoutRoomStatus = $breakoutRoomStatus; + $this->callRecording = $callRecording; } public function getId(): int { @@ -632,4 +637,12 @@ class Room { public function setBreakoutRoomStatus(int $status): void { $this->breakoutRoomStatus = $status; } + + public function getCallRecording(): int { + return $this->breakoutRoomStatus; + } + + public function setCallRecording(int $status): void { + $this->callRecording = $status; + } } |