adding more daily room params
This commit is contained in:
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Added `29-livekit-audio-chat.py`, as a new foundational examples for
|
- Added `29-livekit-audio-chat.py`, as a new foundational examples for
|
||||||
`LiveKitTransportLayer`.
|
`LiveKitTransportLayer`.
|
||||||
|
- Added `enable_prejoin_ui`, `max_participants` and `start_video_off` params
|
||||||
|
to `DailyRoomProperties`.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -39,20 +39,25 @@ class DailyRoomProperties(BaseModel, extra="allow"):
|
|||||||
Attributes:
|
Attributes:
|
||||||
exp: Optional Unix epoch timestamp for room expiration (e.g., time.time() + 300 for 5 minutes)
|
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_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
|
enable_emoji_reactions: Whether emoji reactions are enabled
|
||||||
eject_at_room_exp: Whether to remove participants when room expires
|
eject_at_room_exp: Whether to remove participants when room expires
|
||||||
enable_dialout: Whether SIP dial-out is enabled
|
enable_dialout: Whether SIP dial-out is enabled
|
||||||
sip: SIP configuration parameters
|
sip: SIP configuration parameters
|
||||||
sip_uri: SIP URI information returned by Daily
|
sip_uri: SIP URI information returned by Daily
|
||||||
|
start_video_off: Whether video is off by default
|
||||||
"""
|
"""
|
||||||
|
|
||||||
exp: Optional[float] = None
|
exp: Optional[float] = None
|
||||||
enable_chat: bool = False
|
enable_chat: bool = False
|
||||||
|
enable_prejoin_ui: bool = True
|
||||||
enable_emoji_reactions: bool = False
|
enable_emoji_reactions: bool = False
|
||||||
eject_at_room_exp: bool = True
|
eject_at_room_exp: bool = True
|
||||||
enable_dialout: Optional[bool] = None
|
enable_dialout: Optional[bool] = None
|
||||||
|
max_participants: Optional[int] = None
|
||||||
sip: Optional[DailyRoomSipParams] = None
|
sip: Optional[DailyRoomSipParams] = None
|
||||||
sip_uri: Optional[dict] = None
|
sip_uri: Optional[dict] = None
|
||||||
|
start_video_off: bool = False
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def sip_endpoint(self) -> str:
|
def sip_endpoint(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user