nickdesaulniers / node-rtc-peer-connection

[BROKEN/UNMAINTAINED] RTCPeerConnection for Node.js
Other
154 stars 17 forks source link

move ICE logic to an ice agent #3

Closed nickdesaulniers closed 8 years ago

nickdesaulniers commented 8 years ago

The RTC spec keeps refering to the peer having an "ICE Agent." It would be nice to decouple and move the ICE stuff to a separate file. One day, maybe even move it out as its own node module, since punching holes in NATs is pretty useful (and pretty much the only part I have implemented thus far).

nickdesaulniers commented 8 years ago

For example, ipfo currently contains this logic. The ice agent would also have to maintain the underlying STUN/TURN socket (encapsulate it from the RTCPeerConnection).

nickdesaulniers commented 8 years ago

this was done a while ago.