-
Notifications
You must be signed in to change notification settings - Fork 84
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
sdpSemantics
property not found crash
#155
Comments
hi, which version are you running on? can you provide any repro steps? |
The latest pod 1.0.6 updated yesterday |
|
We are very anxious. We hope you can repair it as soon as possible. Thank you |
pod 'LiveKitClient', '1.0.6' |
Can you find the problem from the information I provided? |
I'm investigating this, it might be Cocoapods related. |
The error is reported directly in the sdk |
The main problem is why there is no sdpSemantics in the RTCConfiguration returned by the webRTC, leading to a crash when assigning values. We did nothing outside, which means we called the link |
Hello, do you have any progress? |
Are you using the ObjC version ? |
ObjC or swift have problems |
What I'm using now is to create a swfit class that calls livekit, and then calls swift with ObjC |
I really don't understand what's going on. I've been looking forward to your reply |
My code is ObjC, but you use Cocopods integration 1.0.6 to integrate, and use the bridge file to call swift |
I can't reproduce this at the moment. |
I will provide you with a Github demo later, about |
Can I see your Podfile.lock file ? |
|
Looks correct.... can you prepare a small demo ? thanks. |
Hello, first of all, thank you very much for your reply. The reason for the problem has been found. It is because one of the other static libraries (. a) in our project references a lower version of webrtc. The 'RTCConfiguration' class in this version does not define the 'sdpSemantics' attribute |
LiveKit is very important to us. Another library that references low version WebRtc is also important to us, but they can't modify it. We use LiveKit only for voice calls, and 'url' and 'token' are connected. Is there a better way to use LiveKit? For example, low version WebRtc is used in low version livekits, but only version 1.0.6 is seen in the current pod management |
The lower version is probably the 2016 version of webrtc |
Oh ok that makes a lot of sense it would crash. You can fork this repo and reference your preferred WebRTC version and comment out the I'll close this for now since it's specific for your use case but I'm willing to continue support. |
Hello, I'd like to ask, what is the minimum version of livekit supported on pod? At present, there is only one 1.0.6 |
@leeqiangzi I think you can use previous versions . |
-[RTCConfiguration setSdpSemantics:]: unrecognized selector sent to instance 0x281ffc960
Specific location:
‘DispatchQueue.webRTC.sync { RTCConfiguration() }',
No crash caused by sdpSemantics exists in the returned object;Is there any solution?,Call de exactly according to the document。
Thank you.
The text was updated successfully, but these errors were encountered: