Skip to content

sinlov/Golang-Android-Remote-Control

Repository files navigation

Info//

  • just in develop!

Library

go get -u -v github.com/gorilla/websocket
go get -u -v github.com/google/flatbuffers/go

https://github.com/gorilla/websocket

Debug

Set config file conf/config.conf

[ServerSet]

daemon=127.0.0.1    // for you daemon
port=18080          // you port number

change Main.go

func main() {
	start_sever()
	// or
	//start_comamd()
}
  • Run
go run Main.go

Connect

Web

  • Server Address will show in command
  • Web Client URL will show in command

dark websocket or other client

/connect ws://youdaemon:yourport

Use cli

go run cli.go

Use Video Player

See in URL

http://127.0.0.1:18080/h264/h264.html

http://127.0.0.1:18080/mpeg1/mpeg1.html

if you change [conf/config.conf] you must change daemon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published