go-unifi icon indicating copy to clipboard operation
go-unifi copied to clipboard

Add support for management via cloud keys

Open paultyng opened this issue 5 years ago • 1 comments

Did some initial investigation on this, poked around with MQTT/WebRTC packages available in Go.

The AWS IoT support in the Go SDK does not handle websockets, but you can manually set one up. The AWS SDK presigning adds an expiration I think which messes it up, so you need to create a presign without an expiration: https://gist.github.com/paultyng/d9d3b900b5524d133df2be058148c5c0#file-aws_presign-go

The WebRTC m=application 9 UDP/DTLS/SCTP webrtc-datachannel media does not yet seem to be supported in pion/webrtc (specifically the UDP portion). Thats at least my working theory for why this is not working. The above is the media description in the offer/answer in the browser.

paultyng avatar Mar 24 '20 14:03 paultyng

If you have any questions, the #pion channel of the gopher slack hosts a vibrant community that loves to discuss all things WebRTC.

backkem avatar May 17 '20 19:05 backkem

I'm not really sure what this issue is about, closing due to staleness.

joshuaspence avatar Jun 22 '23 23:06 joshuaspence