This repository contains some basic C++ and C# code examples for common use cases.
omtgraphicsexample
This example generates a horizontal ticker graphic with alpha channel and sends it via an OMT Sender.
omtrecvtest
omtsendtest
These are cross platform examples that use libomt and libvmx to send and receive video frames over a network.
These examples can be compiled in Visual C++ using a command line similar to the follwing (from the VS x64 Command Prompt)
cl omtrecvtest.cpp
These can be compiled from the command line using Clang on Linux with a command similar to the following:
clang++ -O3 -std=c++17 -o omtrecvtest omtrecvtest.cpp -L./ -lomt -Wl,-rpath,'$ORIGIN'
Note the above command adds the app directory as a search path for the library libomt.so which should be placed in the same directory alongside libvmx.so