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
@@ -48,8 +48,10 @@ func Dial(rawURL string) (*Client, error) {
}
conn := webrtc.NewConn(pc)
conn.Desc = "Nest"
conn.FormatName = "nest/webrtc"
conn.Mode = core.ModeActiveProducer
conn.Protocol = "http"
conn.URL = rawURL
// https://developers.google.com/nest/device-access/traits/device/camera-live-stream#generatewebrtcstream-request-fields
medias := []*core.Media{