tencent_live_fluttify 0.3.0 copy "tencent_live_fluttify: ^0.3.0" to clipboard
tencent_live_fluttify: ^0.3.0 copied to clipboard

discontinued

A `Tencent Live` flutter plugin, Powered by `Fluttify` engine.

Logo

腾讯直播 Flutter插件 #

pub package

专业版为付费插件, 如有需要请联系qq 382146139

专业版为付费插件, 如有需要请联系qq 382146139

专业版为付费插件, 如有需要请联系qq 382146139

Fluttify系列插件 #

名称 描述 仓库
高德地图 高德地图地图组件, 提供地图控件 pub package
高德定位 高德地图定位组件, 提供独立的定位功能 pub package
高德搜索 高德地图搜索组件, 提供poi搜索等功能 pub package
百度地图 百度地图, 包含了地图控件, 定位以及搜索poi等功能 pub package
百度人脸识别 百度人脸识别, 提供活体检测等功能 pub package
网易直播 网易直播推流组件 pub package
网易云信 网易云信 IM组件 pub package
腾讯直播 腾讯直播, 包含推流组件和播放组件 pub package
腾讯IM 腾讯IM组件 pub package
腾讯地图 腾讯地图组件 pub package
讯飞语音合成 腾讯语言合成组件, 提供文字转语言功能 pub package
极光统计 极光统计组件, 提供异常上报等功能 pub package
阿里云RTC 阿里云实时音视频 pub package
环信 环信IM pub package
未完待续... 如有其它需求, 请联系qq 382146139 fluttify

依赖 #

dependencies:
  flutter:
    sdk: flutter
  tencent_live_fluttify: ^x.x.x

配置 #

Android #

  1. 如果你的AndroidManifest.xml的application标签配置了android:label属性, 那么编译时会出错, 报错信息为:
/Users/xxx/AndroidManifest.xml:10:9-41 Error:
	Attribute application@label value=(new_project_test) from AndroidManifest.xml:10:9-41
	is also present at [com.tencent.liteavsdk:LiteAVSDK_Smart:7.2.8927] AndroidManifest.xml:30:9-41 value=(@string/app_name).
	Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:8:5-46:19 to override.

FAILURE: Build failed with an exception.

你需要做的是按照错误提示, 添加tools:replace="android:label"到application标签下, 注意tools:命名空间需要另外导入. 完整的修改后的AndroidManifest.xml示例:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools" <!--需要添加的代码-->
          package="xxx">
    <application
        android:name="io.flutter.app.FlutterApplication"
        android:label="xxx"
        tools:replace="android:label" <!--需要添加的代码-->
        android:icon="@mipmap/ic_launcher">
        ...
    </application>
</manifest>

iOS #

  1. 推流需要摄像头和麦克风权限, 并且需要配置为UiKitView使能, 在Info.plist中添加:
<key>NSMicrophoneUsageDescription</key>
<string>需要麦克风</string>
<key>NSCameraUsageDescription</key>
<string>需要相机</string>
<key>io.flutter.embedded_views_preview</key>
<string>YES</string>
  1. 腾讯直播的pod比较大, 有198M, pod install时间比较久, 请耐心等待, pod install --verbose可以观察下载进度.

导入 #

import 'package:tencent_live_fluttify/tencent_live_fluttify.dart';

使用 #

参考wiki.

社区 #

QQ群

社区版与专业版 #

推流 社区版 专业版
预览
推流
暂停推流
停止推流
停止预览
切换前后摄像头
打开/关闭闪光灯
播放背景音乐
停止背景音乐
暂停背景音乐
恢复背景音乐
麦克风音量大小
背景音乐音量大小
背景音乐音调高低
事件处理
设置观众看到的画面清晰度 ☑️
美颜 ☑️
滤镜 ☑️
调整摄像头的焦距 ☑️
设置曝光比例 ☑️
观众端镜像效果 ☑️
横屏推流 ☑️
隐私模式(垫片推流) ☑️
设置混音效果 ☑️
设置变调效果 ☑️
设置 Logo 水印 ☑️
开始本地录制 ☑️
停止本地录制 ☑️
发送 SEI 消息 ☑️
拉流 社区版 专业版
播放
恢复播放
恢复直播
是否在播放中
暂停播放
停止播放
事件处理
清晰度无缝切换 ☑️
画面调整 ☑️

LICENSE #

Copyright (C) 2020 yohom

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

3
likes
15
pub points
0%
popularity

Publisher

verified publisherfluttify.com

A `Tencent Live` flutter plugin, Powered by `Fluttify` engine.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, foundation_fluttify

More

Packages that depend on tencent_live_fluttify