switch to websockets, remove grpc dependency

This commit is contained in:
David Zhao
2020-11-03 00:20:46 -08:00
parent a2efaccdde
commit 925d1c653e
15 changed files with 934 additions and 1068 deletions
+1 -3
View File
@@ -52,9 +52,7 @@ func (r *Room) ToRoomInfo(node *livekit.Node) *livekit.RoomInfo {
}
}
func (r *Room) Join(peerId string, token string, sdp string) (peer *WebRTCPeer, err error) {
// TODO: check token and reject
func (r *Room) Join(peerId string, sdp string) (peer *WebRTCPeer, err error) {
r.lock.Lock()
defer r.lock.Unlock()