diff options
author | Vitor Mattos <vitor@php.rio> | 2022-05-09 12:51:23 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-06-30 15:01:24 -0300 |
commit | 5bdaa1682308111fb8fcda7d093a6ab528ae47cf (patch) | |
tree | eb41d5947d93ab9bb1454d89abdb90de633d2fdc /lib/Room.php | |
parent | 465bbf0cc873e99ec3253462fde94bc6a9627e22 (diff) |
Implement logic in controller to change the ttl
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Room.php')
-rw-r--r-- | lib/Room.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Room.php b/lib/Room.php index 54e2afcbd..85adc90d8 100644 --- a/lib/Room.php +++ b/lib/Room.php @@ -147,6 +147,8 @@ class Room { public const EVENT_BEFORE_SESSION_LEAVE_CALL = self::class . '::preSessionLeaveCall'; public const EVENT_AFTER_SESSION_LEAVE_CALL = self::class . '::postSessionLeaveCall'; public const EVENT_BEFORE_SIGNALING_PROPERTIES = self::class . '::beforeSignalingProperties'; + public const EVENT_BEFORE_SET_TIME_TO_LIVE = self::class . '::beforeSetTimeToLive'; + public const EVENT_AFTER_SET_TIME_TO_LIVE = self::class . '::afterSetTimeToLive'; public const DESCRIPTION_MAXIMUM_LENGTH = 500; @@ -194,6 +196,7 @@ class Room { int $type, int $readOnly, int $listable, + int $timeToLive, int $lobbyState, int $sipEnabled, ?int $assignedSignalingServer, @@ -223,6 +226,7 @@ class Room { $this->type = $type; $this->readOnly = $readOnly; $this->listable = $listable; + $this->timeToLive = $timeToLive; $this->lobbyState = $lobbyState; $this->sipEnabled = $sipEnabled; $this->assignedSignalingServer = $assignedSignalingServer; |