UWNetworksLab / freedom

Embracing a distributed web
13 stars 4 forks source link

transport.webrtc: Add smart datachannel management #31

Open ryscheng opened 10 years ago

ryscheng commented 10 years ago

Transport API uses tags.

Cleverly spin up and tear down datachannels

ryscheng commented 10 years ago

For example, uProxy uses new tags (datachannels) every time a socket is opened. We can probably do two things: a. reuse datachannels for 2 tags that don't overlap. b. tear down datachannels when we don't need them anymore