概要
Flutter是由Google开发的开源UI工具包,用于构建跨平台应用程序,支持linux/windows/mac/android/ios等操作系统。
metaRTC新增flutter demo,支持linux/windows/mac/android/ios操作系统,此demo在ubuntu桌面环境下测试成功。
源码下载
Release metartc7.0.072 with 3rdparty and runtime · metartc/metaRTC · GitHubA cross-platform webRTC SDK. Contribute to metartc/metaRTC development by creating an account on GitHub.https://github.com/metartc/metaRTC/releases/tag/7.0.072
下载metartc7.072.linux.7z
编译
修改配置文件include/yang_config.h
//不使用datachannel
#define Yang_Enable_Datachannel 0
修改libmetartccore7/CMakeLists.txt和libmetartc7/CMakeLists.txt
去掉注释加入编译参数-fpic
#set(CMAKE_POSITION_INDEPENDENT_CODE ON)
编译libmetartccore7/libmetartc7
./cmake_lib_x64.sh
编译demo/metaplayer7_flutter
cd demo/metaplayer7_flutter
./cmake_x64.sh
运行
cd bin/app_debug/flutter
./metaplayer7_flutter
版权归原作者 metaRTC 所有, 如有侵权,请联系我们删除。