tuzig / peerbook

peerbook is A WebRTC signaling server with per-user address book
GNU Affero General Public License v3.0
3 stars 4 forks source link

Read the list of ice servers from redis #31

Closed daonb closed 1 year ago

daonb commented 1 year ago

When answering a '/turn' post request peerbook should return a list of ice servers it read from REDIS. Each server will stored as a redis hash and the server will bundle them together as a json array.

Also, add a '/iceservers' endpoint to use the same handler and deprecate '/turn'