question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RTCPeerConnection setVideoTrackAdapters:]: unrecognized selector sent to instance

See original GitHub issue

When I try to establish connection between browser and mobile application on iPhone using https://react-native-webrtc.herokuapp.com/ app crashes with error

Exception '-[RTCPeerConnection setVideoTrackAdapters:]: unrecognized selector sent to instance 0x1c007f540' was thrown while invoking peerConnectionInit on target WebRTCModule with params (
        {
        iceServers =         (
                        {
                url = "stun:stun.l.google.com:19302";
            }
        );
    },
    0
)

Expected behavior

Application works I can see image from other device

Observerd behavior

Error

Steps to reproduce the problem

Build demo with following versions. Run it and try to join in a room from Chrome and iPhone

Platform information

  • React Native version: 0.56.0
  • Plugin version: 1.67.0
  • OS: iOS
  • OS version: 11.4.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
danjenkinscommented, Aug 21, 2018

Can confirm PR #504 fixes it

1reaction
saghulcommented, Aug 21, 2018

Thanks for confirming @danjenkins ! I landed the PR and poked @zxcpoiu to make a .1 release. I’ll close this once that is out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

unrecognized selector sent to instance error - Stack Overflow
In interface builder / Storyboard, make sure you have set the class of localVideoView to RTCEAGLVideoView . The IBOutlet does not check the ......
Read more >
unrecognized selector sent to instance 0x1e9a53c00 #248
I'am creating a Map<String, RTCPeerConnection> to store multiple peers. but the app crash when a trying to add a value to my Map....
Read more >
Getting crash call WebRTC Class Call connecting peer to peer ...
_NSContiguousString key]: unrecognized selector sent to instance 0x2805b5d00'. and this msg means that any of this value is nill Or not ...
Read more >
RTCPeerConnection - Web APIs - MDN Web Docs
Chrome Edge RTCPeerConnection Full support. Chrome56. more. Toggle history Full su... configuration.bundlePolicy parameter Full support. Chrome42. Toggle history Full su... configuration.certificates parameter Full support. Chrome49. Toggle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found