Skip to content

Error Ping Pong Example | Failed to execute 'addIceCandidate' on 'RTCPeerConnection' #13

@SaaShah

Description

@SaaShah

I did this;

npm install -g onramp; # installs the onramp server
npm install -g p-examples; # installs the p examples server
onramp& # start the onramp server in the background
p-examples; # start the example server in the foreground

as mentioned in the An example of how P works @ http://unsetbit.com/p/#/walkthrough

Got this error;

Uncaught SyntaxError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The ICE candidate could not be added.WebRTCConnection.readIceCandidate @ p.js:479Connection.readRelayedIceCandidate @ p.js:83JSONProtocol.readRelayedMessage @ p.js:248JSONProtocol.readProtocolMessage @ p.js:214JSONProtocol.readRaw @ p.js:195(anonymous function) @ p.js:534
ping.html:46 3a29bf38-27b6-4e2b-bbdf-d10e92753831 disconnected

Can anyone explain me why is this example not working.?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions