File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,11 @@ struct VoiceAgentApp: App {
1313 // - Enable your sandbox here https://cloud.livekit.io/projects/p_/sandbox/templates/token-server
1414 // - Create .env.xcconfig with your LIVEKIT_SANDBOX_ID
1515 private static let sandboxId = Bundle . main. object ( forInfoDictionaryKey: " LiveKitSandboxId " ) as! String
16- @StateObject private var session = Session ( tokenSource: SandboxTokenSource ( id: Self . sandboxId) ,
17- room: Room ( roomOptions: RoomOptions ( defaultScreenShareCaptureOptions: ScreenShareCaptureOptions ( useBroadcastExtension: true ) ) ) )
16+
17+ @StateObject private var session = Session (
18+ tokenSource: SandboxTokenSource ( id: Self . sandboxId) ,
19+ options: Session . Options ( room: Room ( roomOptions: RoomOptions ( defaultScreenShareCaptureOptions: ScreenShareCaptureOptions ( useBroadcastExtension: true ) ) ) )
20+ )
1821
1922 var body : some Scene {
2023 WindowGroup {
You can’t perform that action at this time.
0 commit comments