sepfy / libpeer

WebRTC Library for IoT/Embedded Device using C
MIT License
804 stars 108 forks source link

Where to set ICE Candidate generate by remote? #63

Open dybai opened 6 months ago

dybai commented 6 months ago

After calling peerConnection.createAnswer() on the H5 side, the 'icecandidate' event of the peerConnection returned an ICE Candidate, like this: {"candidate":"candidate:1 1 TCP 2105524479 10.200.0.2 9 typ host tcptype active","sdpMid":"video","sdpMLineIndex":0,"usernameFragment":"c976a1ab"} However, I haven't found how to set the ICE Candidate data in libpeer?