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

Crash when closing peerConnection #7

Open
josipbernat opened this issue May 9, 2014 · 0 comments
Open

Crash when closing peerConnection #7

josipbernat opened this issue May 9, 2014 · 0 comments

Comments

@josipbernat
Copy link

I've forked your repository and before I start thank you for effort on this project!

Problem I have is that I can't close session, app always crashes. I try to close it like this:
[self.client sendData:[@"{"type": "bye"}" dataUsingEncoding:NSUTF8StringEncoding]];

[self.peerConnection close];
self.peerConnection = nil;

self.peerConnectionFactory = nil;
self.client.ICEServerDelegate = nil;
self.client.messageHandler = nil;
self.client = nil;

[RTCPeerConnectionFactory deinitializeSSL];

Exception I get is this:
-[VideoCaptureIosObjC onVideoError:]: unrecognized selector sent to instance 0x17ee7010

I assume it's coming from Google libraries but how can I fix that problem?
Or maybe I'm doing something wrong when I try to end call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant