-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
EXC_BREAKPOINT raised when stopping stream on version 2.2.3 #144
Comments
Can you try changing the current code as follows?:
func MediaStreamTrack_stop(command: CDVInvokedUrlCommand) {
NSLog("iosrtcPlugin#MediaStreamTrack_stop()")
let id = command.argumentAtIndex(0) as! String
weak var pluginMediaStreamTrack = self.pluginMediaStreamTracks[id]
func MediaStreamTrack_stop(command: CDVInvokedUrlCommand) {
NSLog("iosrtcPlugin#MediaStreamTrack_stop()")
let id = command.argumentAtIndex(0) as! String
let pluginMediaStreamTrack = self.pluginMediaStreamTracks[id] |
That worked. It no longer raises EXC_BREAKPOINT when closing the stream. |
OK, will fix it. |
Fixed in 21df233 |
Closed
Thanks for this fix. Manually changing that code seems to do the trick, but the NPM repo still seems to have the version without these changes. Will that be updated anytime soon? |
2.2.4 is out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
EXC_BREAKPOINT is raised when we stop the stream - causing the app to crash.
within iosrtcPlugin.swift - MediaStreamTrack_stop
This does not happen in version 2.2.2 of the plugin.
The text was updated successfully, but these errors were encountered: