Skip to content

Stream Test Examples and Debugging

Test Examples

To validate the operability of Stream, please complete the following steps:

Test: motion - turn ON

Edit the config file by typing in the terminal:

subl /opt/row64server/conf/apiconfig.json

Turn the example “Motion” to “ON” and save the file

Restart the Stream API with:

sudo systemctl stop row64stream
sudo systemctl start row64stream

Be sure to stop & start rather than restart; it forces the systemctl to update the interacting services better.

PlayerMotion.ramdb In ByteStream Viewer

Open Nautilus and drag into the ByteStream Viewer the file:

/var/www/ramdb/live/RAMDB.Row64/Examples/PlayerMotion.ramdb

Wait for a few seconds and you can see the UPSERT update running slowly through the player list. If you want to update faster, modify the apiconfig.json for a lower "SAMPLE_RATE", which is the time in milliseconds between updates.

Motion Analytics In The Browser

Navigate to the following link:
http://localhost/dash/examples/motion

If it's working, you'll see the player locations update and move around.

Cyber Demo

Edit the streaming config file by typing in the terminal:

subl /opt/row64server/conf/apiconfig.json

And turn all other tests to OFF.

Turn the example “Cyber” to “ON” and save the file.

Restart the Stream API with:

sudo systemctl stop row64stream
sudo systemctl start row64stream

Navigate to the following link:
http://localhost/dash/examples/cyber

Fleet Demo

Edit the streaming config file by typing in the terminal:

subl /opt/row64server/conf/apiconfig.json

And turn all other tests to OFF Turn the example Fleet to “ON” and save the file.

Restart the Stream API with:

sudo systemctl stop row64stream
sudo systemctl start row64stream

Navigate to the following link:
http://localhost/dash/examples/fleet


Stream Debugging

If you encounter issues while testing, please review the following sections for potential resolutions:

Warning: run 'systemctl daemon-reload'.

Changing config files can occasionally lead to this error:

Warning: run 'systemctl daemon-reload'.

This means you need to reboot systemctl to update all changes and dependencies. Just run:

sudo systemctl daemon-reload

Study The Log Files

Stream logs are saved in the same location as the server logs:

/var/log/row64server/

Streaming API logs all have the prefix: Row64ServerAPI

Example name: Row64ServerAPI_250602165720.log