Skip to content

Commit 0d7e670

Browse files
committed
Make bot_name, meeting_name and callback url optional, decrease interval of wait for status
1 parent e410974 commit 0d7e670

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

videodb/collection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,9 @@ def make_private(self):
489489
def record_meeting(
490490
self,
491491
link: str,
492-
bot_name: str,
493-
meeting_name: str,
494-
callback_url: str,
492+
bot_name: str = None,
493+
meeting_name: str = None,
494+
callback_url: str = None,
495495
callback_data: dict = {},
496496
time_zone: str = "UTC",
497497
) -> Meeting:

videodb/meeting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def is_completed(self) -> bool:
5656
return self.status in ["done"]
5757

5858
def wait_for_status(
59-
self, target_status: str, timeout: int = 14400, interval: int = 300
59+
self, target_status: str, timeout: int = 14400, interval: int = 120
6060
) -> bool:
6161
"""Wait for the meeting to reach a specific status.
6262

0 commit comments

Comments
 (0)