add 3rd party folders back
This commit is contained in:
38
3rd/omt-examples/README.md
Normal file
38
3rd/omt-examples/README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user