* PLT-4550 move webrtc to TE

* remove webrtc from makefile enterprise tests
Этот коммит содержится в:
enahum
2016-11-04 13:05:32 -03:00
коммит произвёл Harrison Healey
родитель 6289c72686
Коммит 772b57386f
14 изменённых файлов: 181 добавлений и 107 удалений

21
model/webrtc.go Обычный файл
Просмотреть файл

@@ -0,0 +1,21 @@
package model
import (
"encoding/json"
"io"
)
type GatewayResponse struct {
Status string `json:"janus"`
}
func GatewayResponseFromJson(data io.Reader) *GatewayResponse {
decoder := json.NewDecoder(data)
var o GatewayResponse
err := decoder.Decode(&o)
if err == nil {
return &o
} else {
return nil
}
}