mirror of
https://github.com/comma-hacks/webrtc.git
synced 2025-10-05 08:06:55 +08:00
26 lines
349 B
Go
26 lines
349 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"secureput"
|
|
)
|
|
|
|
func main() {
|
|
signal := secureput.Create("go-webrtc-body")
|
|
signal.Gui = &Face{app: &signal}
|
|
go signal.RunDaemonMode()
|
|
|
|
if !signal.Paired() {
|
|
go signal.Gui.Show()
|
|
log.Println("Waiting to pair.")
|
|
<-signal.PairWaitChannel
|
|
}
|
|
|
|
// go TestVisionIPCTrack("roadEncodeData")
|
|
|
|
for {
|
|
select {}
|
|
}
|
|
|
|
}
|