Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init failed in iOS13 #523

Open
DemonDG opened this issue Dec 6, 2024 · 0 comments
Open

Init failed in iOS13 #523

DemonDG opened this issue Dec 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DemonDG
Copy link

DemonDG commented Dec 6, 2024

Livekit init failled in my Project just in iOS13,Other systems work good.
My init method is
@objc func connectSync(url: String, token: String, completion: @escaping (NSError?) -> Void) {
Task {
do {
try await room?.connect(url: url, token: token)
try await room?.localParticipant.setCamera(enabled: false)
try await room?.localParticipant.setMicrophone(enabled: true)
completion(nil)
} catch {
completion(error as NSError)
}
}
}
And my log in iOS13 is
2024-12-06T11:04:21+0800 info LiveKitSDK : [LiveKit] LocalParticipant._publish(track:options:) [publish] LocalAudioTrack(sid: nil, name: microphone, source: Source) options: nil...
2024-12-06T11:04:21+0800 error LiveKitSDK : [LiveKit] Room.requirePublisher() Publisher is nil
2024-12-06 11:04:24.327481+0800
Waiting for yours reply,thanks team.

@DemonDG DemonDG added the bug Something isn't working label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants