RTSPtoWeb icon indicating copy to clipboard operation
RTSPtoWeb copied to clipboard

Server stops on terminal close.

Open DesignCell opened this issue 2 years ago • 1 comments

I'm clearly missing something simple. The server stops when I close my ssh terminal. Otherwise this works great.

Open Terminal > ssh into server > cd RTSPtoWeb/ > GO111MODULE=on go run *.go

  • All three streams with two channels each work.
  • http://127.0.0.1:8083 works and show all streams
  • End receiver (MagicMirror MMM_RTSPtoWeb) receives all three streams and displays them well.

Close Terminal connection > RTSPtoWeb stops.

Any ideas??

DesignCell avatar Sep 21 '23 17:09 DesignCell

This question is old, but for anyone searching for answer: use screen command. screen GO111MODULE=on go run *.go and when command is executed, press ctrl+a+d. When you wish to return type screen -r

batvase avatar Feb 04 '25 14:02 batvase