概要
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
https://gitee.com/metartc/metaRTC/releases/tag/7.0.072https://gitee.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文章来源:https://www.toymoban.com/news/detail-740142.html
去掉注释加入编译参数-fpic文章来源地址https://www.toymoban.com/news/detail-740142.html
#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集成flutter ui demo编译指南的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!