/
Build and run monostream

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:

image-20241229-111301.png

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

Getting started
Getting started
More like this
simplestream
simplestream
More like this
Merlin WiFi interface
Merlin WiFi interface
More like this
Switch off the device
Switch off the device
More like this
GET frenzel_video
GET frenzel_video
More like this

Gutenbergstrasse 39 * 72555 Metzingen

Achtung: Ausgedruckte gelenkte Dokumente sind nicht gültig!
Die gültige Fassung ist in Confluence abrufbar.