Skip to content

metaRTC7 demo mac ios compilation guide

yangrtc edited this page Aug 24, 2023 · 3 revisions

summary

metaRTC7.0 began to fully support the mac/ios operating system, and the new version 7.0.023 mac os demo includes a push-pull demo of srs/zlm. The release version comes with the x64 version of the third-party library, and the arm version of the third-party library needs to be compiled by the developer.

Source code download

Download file metartc7.023.7z

https://github.com/metartc/metaRTC/releases/tag/7.0.023
https://gitee.com/metartc/metaRTC/releases/tag/7.0.023
图片

Compile and run QT project

qt open metaRTC project libmetartccore7/libmetartc7
qt open demo project demo/metapushstream7 and demo/metaplayer7
图片

Click the right-click menu to build or rebuild and compile metartccore7 and metartc7

图片

Enter the directory bin/app_debug after successful compilation
图片

Click to display the package content, enter the Contents/MacOS directory, copy the yang_config.ini configuration file here, and the generated log file yang_log.log is also here.
图片

Click the debug button in the lower left corner of QT to start the debug operation
图片

cmake compile

./cmake_lib_x64.sh