Skip to content

Commit ebd8200

Browse files
committed
chore: update README
1 parent 7e8a575 commit ebd8200

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

README.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -370,38 +370,6 @@ conversation.$conversationMetadata
370370
.store(in: &cancellables)
371371
```
372372

373-
### Network Configuration & iOS Local Network Prompt
374-
375-
Starting in **v2.0.17**, the SDK enforces TURN-only connectivity by default to prevent iOS from asking for *“Local Network Access”* the first time a conversation starts. You can customise this behaviour via `LiveKitNetworkConfiguration`:
376-
377-
```swift
378-
// Default: relay-only, no local network prompt
379-
let config = ConversationConfig(
380-
networkConfiguration: .init()
381-
)
382-
383-
// Opt back into LiveKit's automatic ICE policy (may re-trigger the system prompt)
384-
let localNetworkConfig = ConversationConfig(
385-
networkConfiguration: .init(strategy: .automatic)
386-
)
387-
388-
// Provide your own transport policy and TURN servers
389-
let customNetworkConfig = ConversationConfig(
390-
networkConfiguration: .init(
391-
strategy: .custom(.relay),
392-
customIceServers: [
393-
ElevenLabs.IceServer(
394-
urls: ["turns:turn.your-domain.com:5349"],
395-
username: "user",
396-
credential: "pass"
397-
)
398-
]
399-
)
400-
)
401-
```
402-
403-
If you re-enable local/host candidates (`.automatic` or `.custom(.all)`), be sure to include `NSLocalNetworkUsageDescription` in your app’s `Info.plist` so the system prompt explains why the permission is needed.
404-
405373
## Architecture
406374

407375
The SDK is built with modern Swift patterns and reactive programming:

0 commit comments

Comments
 (0)