gsc

command module
v0.0.0-...-c67e788 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 4 Imported by: 1

README

GSC

go stream core.

# flow
       RPC/Websocket           IPC
[API] <-------------> [gsc] <-------> [ffmpeg]

Compile

# build gsc
$ make

Build

# build ffmpeg image
$ docker build -f dockerfile.ffmpeg -t gsf/ffmpeg:latest .
# build gsc image base from ffmpeg image
$ docker build -t gsf/gsc:latest .

Run

# run zk
$ docker run -d -e TZ="Asia/Shanghai" -p 2181:2181 -v $PWD/data:/data --name zookeeper --restart always zookeeper
# run gsc
$ docker run -d -p 8080:8080 --name gsc gsf/gsc:latest

# OR
$ docker-compose up -d

Demo Test

web

http://localhost:8080/demo/web

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL