### Initialize and Start Pipecat Client with WebRTC Source: https://github.com/pipecat-ai/pipecat-client-ios-small-webrtc/blob/main/README.md Instantiate the RTVIClient with SmallWebRTCTransport, configure audio/video options, and initiate a bot conversation. Handle the result of the connection attempt. ```swift let pipecatClientOptions = PipecatClientOptions.init( transport: SmallWebRTCTransport.init(), enableMic: true, enableCam: false, ) let pipecatClientIOS = PipecatClient.init( options: pipecatClientOptions ) let startBotParams = APIRequest.init(endpoint: URL(string: baseUrl)!) pipecatClientIOS?.startBotAndConnect(startBotParams: startBotParams) { (result: Result) in switch result { case .failure(let error): // Handle error case .success(_): // handle success } } ``` -------------------------------- ### Add Pipecat Client Package to Xcode Project Source: https://github.com/pipecat-ai/pipecat-client-ios-small-webrtc/blob/main/README.md Declare the Pipecat client package dependency in your Swift Package Manager configuration. ```swift .package(url: "https://github.com/pipecat-ai/pipecat-client-ios-small-webrtc.git", from: "1.2.0"), ``` ```swift .target(name: "YourApp", dependencies: [ .product(name: "PipecatClientIOSSmallWebrtc", package: "pipecat-client-ios-small-webrtc") ], ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.