The library offers support for the Real-time Transport Protocol (RTP),
The library uses the library to automatically poll 轮询 for incoming data in the background, so you may want to install it too.
Of course, if you'd rather not have it installed, the library will also work without JThread (but you'll have to poll for incoming data yourself).
如果需要安装jThread,需要CMake 3.0 or higher is required.
升级cmake
cmake -version
安装jtread:
cmake CMakeLists.txt
make && make install
如果不需要jthread
就直接互jstplib目录下执行
cmake .或 cmake CMakeLists.txt
make && make install
文档地址:
参考: