Merge remote-tracking branch 'upstream/main' into vl_feature_websocket_fastapi_timeout

This commit is contained in:
Vaibhav159
2025-01-08 10:21:36 +05:30
4 changed files with 21 additions and 7 deletions

View File

@@ -119,9 +119,9 @@ class PollyTTSService(TTSService):
def __init__(
self,
*,
api_key: str,
aws_access_key_id: str,
region: str,
api_key: Optional[str] = None,
aws_access_key_id: Optional[str] = None,
region: Optional[str] = None,
voice_id: str = "Joanna",
sample_rate: int = 24000,
params: InputParams = InputParams(),

View File

@@ -39,20 +39,28 @@ class DailyRoomProperties(BaseModel, extra="allow"):
Attributes:
exp: Optional Unix epoch timestamp for room expiration (e.g., time.time() + 300 for 5 minutes)
enable_chat: Whether chat is enabled in the room
enable_prejoin_ui: Whether the pre-join UI is enabled
enable_emoji_reactions: Whether emoji reactions are enabled
eject_at_room_exp: Whether to remove participants when room expires
enable_dialout: Whether SIP dial-out is enabled
max_participants: Maximum number of participants allowed in the room
sip: SIP configuration parameters
sip_uri: SIP URI information returned by Daily
start_video_off: Whether video is off by default
Reference: https://docs.daily.co/reference/rest-api/rooms/create-room#properties
"""
exp: Optional[float] = None
enable_chat: bool = False
enable_prejoin_ui: bool = True
enable_emoji_reactions: bool = False
eject_at_room_exp: bool = True
enable_dialout: Optional[bool] = None
max_participants: Optional[int] = None
sip: Optional[DailyRoomSipParams] = None
sip_uri: Optional[dict] = None
start_video_off: bool = False
@property
def sip_endpoint(self) -> str: