Skip to content

What's the difference between pion/ice and ice code in pion/webrtc #2331

Answered by Sean-Der
iPush asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @iPush

Thank you so much for your kind words! Hope you are enjoying using Pion :) Your explanation sounds right to me!

The ICE objects in pion/webrtc come from the webrtc-pc spec. This defines things like ICECandidate. We can't put these objects in pion/ice because they are WebRTC specific.

pion/ice is also used by people that don't use WebRTC you can see the importers here. I try and make sure that people that don't care about WebRTC aren't forced to import it.


If you are building something with pion/webrtc I would try to avoid using pion/ice (if possible). It is a lower level interface and the API may change at a different time then pion/webrtc. If you are building something with IC…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iPush
Comment options

Answer selected by Sean-Der
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants