Update WebRTC type in info JSON

This commit is contained in:
Alexey Khit
2023-03-08 17:33:00 +03:00
parent 775b1818d1
commit 1fc2cf3175
9 changed files with 67 additions and 14 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ func initAPI() {
return
}
s, err = webrtc.ExchangeSDP(stream, string(offer), r.UserAgent())
s, err = webrtc.ExchangeSDP(stream, string(offer), "WebRTC/Hass sync", r.UserAgent())
if err != nil {
log.Error().Err(err).Msg("[api.hass] exchange SDP")
return
@@ -117,7 +117,7 @@ func initAPI() {
}
}
str, err = webrtc.ExchangeSDP(stream, string(offer), r.UserAgent())
str, err = webrtc.ExchangeSDP(stream, string(offer), "WebRTC/Hass sync", r.UserAgent())
if err != nil {
return
}