Skip to content

Code examples for the various features in Open Media Transport

License

openmediatransport/Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Media Transport (OMT) Code Examples

This repository contains some basic C++ and C# code examples for common use cases.

C#

omtgraphicsexample

This example generates a horizontal ticker graphic with alpha channel and sends it via an OMT Sender.

C++

omtrecvtest
omtsendtest

These are cross platform examples that use libomt and libvmx to send and receive video frames over a network.

Windows Compile Notes

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

Linux Compilation Notes

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

About

Code examples for the various features in Open Media Transport

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published