@@ -237,56 +237,58 @@ def e2ee_manager(self) -> E2EEManager:
237237 E2EEManager: The E2EE manager instance.
238238 """
239239 return self ._e2ee_manager
240-
240+
241241 @property
242242 def num_participants (self ) -> int :
243243 """Gets the number of participants in the room.
244-
244+
245245 Returns:
246246 int: The number of participants in the room.
247247 """
248248 return self ._info .num_participants
249-
249+
250250 @property
251251 def num_publishers (self ) -> int :
252252 """Gets the number of publishers in the room.
253-
253+
254254 Returns:
255255 int: The number of publishers in the room.
256256 """
257257 return self ._info .num_publishers
258-
258+
259259 @property
260260 def creation_time (self ) -> datetime .datetime :
261261 """Time when the room was created.
262-
262+
263263 Returns:
264264 datetime.datetime: The creation time of the room.
265265 """
266- return datetime .datetime .fromtimestamp (self ._info .creation_time / 1000 , datetime .timezone .utc )
267-
266+ return datetime .datetime .fromtimestamp (
267+ self ._info .creation_time / 1000 , datetime .timezone .utc
268+ )
269+
268270 @property
269271 def is_recording (self ) -> bool :
270272 """Whether the room is actively recording.
271-
273+
272274 Returns:
273275 bool: True if actively recording, False otherwise.
274276 """
275277 return self ._info .active_recording
276-
278+
277279 @property
278280 def departure_timeout (self ) -> float :
279281 """Amount of time to hold the room open after the last standard participant leaves.
280-
282+
281283 Returns:
282284 float: The departure timeout of the room.
283285 """
284286 return float (self ._info .departure_timeout )
285-
287+
286288 @property
287289 def empty_timeout (self ) -> float :
288290 """Amount of time to keep the room open if no participants join.
289-
291+
290292 Returns:
291293 float: The empty timeout of the room.
292294 """
@@ -830,7 +832,7 @@ def _on_room_event(self, event: proto_room.RoomEvent):
830832 )
831833 self ._data_stream_tasks .add (task )
832834 task .add_done_callback (self ._data_stream_tasks .discard )
833-
835+
834836 elif which == "room_updated" :
835837 self ._info = event .room_updated
836838 self .emit ("room_updated" )
0 commit comments