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