gortmp
Client(IP : 192.168.2.99)
-
ffmpeg : push the desktop to the server.
ffmpeg.exe -report -f dshow -i audio="virtual-audio-capturer" -f dshow -i video="screen-capture-recorder" -vcodec libx264 -acodec aac -s 1920*1080 -r 25 -g 25 -pix_fmt yuv420p -preset veryfast -tune zerolatency -f flv rtmp://192.168.2.100/myapp/mystream
Server(IP : 192.168.2.100)
-
Run Server(need to install "golang" environment)γ
go run main.go
Pull Live Stream(IP : 192.168.2.99)
-
ffplay.
ffplay.exe -i rtmp://192.168.2.100/myapp/mystream -fflags nobuffer