Zeisberg GmbH
Build and run monostream
Build monostream
Run the go build
command from inside the project folder. This will build an executable file called monostream
in the project folder as shown above.
Run monostream
After starting the app, open your browser on the host that is connected to Merlin’s access point. Enter the address http://192.168.50.1:8080/stream
:
You can open multiple connections to the streaming server on Merlin. Just open another tab/window and open the same path as shown above.
Whenever you close a connection, you will see some errors in the log of monostream:
These errors occur, since closing the connection (by closing the browser window/tab) will close the http request, to which the server was responding by sending frames. Essentially, the file to which we werre streaming has been closed. The serve_stream
function will be closed by such an event and the handler for the corresponding request is terminated.
Related content
Gutenbergstrasse 39 * 72555 Metzingen
Achtung: Ausgedruckte gelenkte Dokumente sind nicht gültig!
Die gültige Fassung ist in Confluence abrufbar.