BIG rewrite stream info

This commit is contained in:
Alex X
2024-06-15 16:46:03 +03:00
parent ecfe802065
commit 96504e2fb0
88 changed files with 1043 additions and 854 deletions
+3 -1
View File
@@ -61,8 +61,10 @@ func NewClient(rawURL string) (*Client, error) {
}
conn := webrtc.NewConn(pc)
conn.Desc = "Hass"
conn.FormatName = "hass/webrtc"
conn.Mode = core.ModeActiveProducer
conn.Protocol = "ws"
conn.URL = rawURL
// https://developers.google.com/nest/device-access/traits/device/camera-live-stream#generatewebrtcstream-request-fields
medias := []*core.Media{