PLT-3412 WebRTC Server side & System Console (#3706)

* WebRTC Server side

* WebRTC System Console

* Consistency on variable names

* Add turn and stun uri validation
Этот коммит содержится в:
enahum
2016-09-15 09:35:44 -03:00
коммит произвёл Christopher Speller
родитель 3b4c9d7588
Коммит b180bb46e3
20 изменённых файлов: 592 добавлений и 3 удалений

Просмотреть файл

@@ -169,6 +169,9 @@ func shouldSendEvent(webCon *WebConn, msg *model.WebSocketEvent) bool {
} else if msg.Event == model.WEBSOCKET_EVENT_EPHEMERAL_MESSAGE {
// For now, ephemeral messages are sent directly to individual users
return false
} else if msg.Event == model.WEBSOCKET_EVENT_WEBRTC {
// No need to tell anyone that a webrtc event is going on
return false
}
// Only report events to users who are in the team for the event