@@ -13,30 +13,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313 ` pipecatcloud ` . Like the other ` *SessionArguments ` types it subclasses the
1414 matching pipecat-ai runner type (` LiveKitRunnerArguments ` ), so it carries
1515 ` room_name ` , ` url ` , ` token ` , and ` session_id ` , and works with pipecat's
16- ` create_transport ` and ` isinstance ` checks.
17-
18- Pipecat Cloud provisions nothing for LiveKit, unlike Daily, so a session's
19- connection details travel in the start body under a ` livekit ` key:
20-
21- ``` python
22- session = Session(
23- agent_name = " my-agent" ,
24- api_key = api_key,
25- params = SessionParams(
26- data = {
27- " livekit" : {
28- " url" : " wss://your-project.livekit.cloud" ,
29- " room_name" : " your-room" ,
30- " token" : " the bot's access token" ,
31- }
32- }
33- ),
34- )
35- ```
36-
37- Mint the room and both tokens with your own LiveKit API key and secret, join
38- with the user token, and send the bot's token. Base image 0.1.28 and later
39- turns that block into ` LiveKitSessionArguments ` before calling ` bot() ` .
16+ ` create_transport ` and ` isinstance ` checks. Pass the LiveKit connection
17+ details in the ` body ` request parameter when starting a session, under a
18+ ` livekit ` key holding ` url ` , ` room_name ` , and the bot's ` token ` . Base image
19+ 0.1.28 and later turns that block into ` LiveKitSessionArguments ` before
20+ calling ` bot() ` .
4021
4122- Architecture selection on deploy: `pipecat cloud deploy --architecture
4223 {amd64,arm64}` or an ` architecture` key in ` pcc-deploy.toml` (the flag
0 commit comments