flutter_rtmp

Last updated:

0 purchases

flutter_rtmp Image
flutter_rtmp Images
Add to Cart

Description:

flutter rtmp

flutter_rtmp #
使用方法 #

git安装使用时建议要按照release版本号

引入 #
1.第一种方法
flutter_rtmp:
git: https://github.com/MEnigma/flutter_rtmp.git
ref: ***
copied to clipboard
2.第二种
flutter_rtmp: ^*.*.*
copied to clipboard
关于iOS的配置
需要在info.plist中添加

<key>io.flutter.embedded_views_preview</key>
<true/>
copied to clipboard
关于Android的配置
目前仅支持armv7架构

android{
...
defaultConfig{
...
ndk{
abiFilters "armeabi-v7a"
}
}
}
copied to clipboard

示例
/// 控制器
void initState() {
super.initState();
_manager = RtmpManager(onCreated: () {
print("--- view did created ---");
});
}

/// 视图
Widget build(BuildContext context) {

return RtmpView(
manager: _manager,
);
}
copied to clipboard

引用 #


iOS 使用LFLiveKit
android中使用libWSLive


进度 #

✅ 推流
✅ 切换摄像头
❌ 美颜
❌ 旋转 (android端会根据宽高比调整横竖屏)

LICENSE #

参与者



mark < https://github.com/MEnigma >
youshinki < https://github.com/youshinki >

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.