-
Notifications
You must be signed in to change notification settings - Fork 117
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
Crash on OTAudioDevice protocol with the func estimatedRenderDelay() #263
Comments
following Yoav's question, the crash is happening cause of UInt32 to UInt16 casting, public func estimatedRenderDelay() -> UInt16 { this would avoid the crash I guess, but it might cause unexpected result, |
Thanks, @YoavGro, for letting us know about this issue. We've been investigating this, actually: https://jira.vonage.com/browse/OPENTOK-48681. We haven't had any success with reproducing the issue, though. That said, we added some resiliency to one of our sample applications. Can you please see if https://github.com/opentok/opentok-ios-sdk-samples-swift/pull/177/files helps you? Thanks! 🙏 |
@goncalocostamendes, does https://github.com/opentok/opentok-ios-sdk-samples-swift/pull/177/files need to be ported to this repo as well? Please advise. Thanks! |
The final version is opentok/opentok-ios-sdk-samples-swift#178! We should debated if we port it to this sample as well, yes! Regarding this issue raised in particular, in objc casting UInt32 to UInt16 should not raise a crash, but an overflow of the variable. @YoavGro are you using our objc or swift samples (https://github.com/opentok/opentok-ios-sdk-samples or https://github.com/opentok/opentok-ios-sdk-samples-swift)? |
@goncalocostamendes, yeah, let's port that to this as well, please. Thanks! |
Tracked internally as https://jira.vonage.com/browse/OPENTOK-51225 |
Hi, we are experiencing some crashes with OTAudioDevice.
The call stack is the following:
Crashed: WebRTCWorkerThread
We are using
pod 'OpenTok', '~> 2.22.3'
The text was updated successfully, but these errors were encountered: