From 61923fcccee7fb5e7ff63322c01da9546ea5594b Mon Sep 17 00:00:00 2001 From: laiiihz Date: Tue, 27 Oct 2020 09:03:50 +0800 Subject: [PATCH] update tencent live flutter --- lib/pages/live/live_stream/live_page.dart | 6 ++++++ pubspec.lock | 10 ++++++---- pubspec.yaml | 4 +++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lib/pages/live/live_stream/live_page.dart b/lib/pages/live/live_stream/live_page.dart index 0ad05b4..7db0b8b 100644 --- a/lib/pages/live/live_stream/live_page.dart +++ b/lib/pages/live/live_stream/live_page.dart @@ -101,6 +101,12 @@ class _LivePageState extends State { onCloudVideoCreated: (controller) async { _livePusher = await LivePusher.create(); _livePusher.startPreview(controller); + _livePusher.setBeautyFilter( + BeautyFilter.NATURE, + whiteningLevel: 0, + beautyLevel: 0, + ruddyLevel: 0, + ); if (widget.resumeLive) { _isStream = true; liveItemId = widget.model.liveItemId; diff --git a/pubspec.lock b/pubspec.lock index 7a01978..f63da03 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1022,10 +1022,12 @@ packages: tencent_live_fluttify: dependency: "direct main" description: - name: tencent_live_fluttify - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.2.0+1" + path: "." + ref: HEAD + resolved-ref: cc34f13777b2eff58523fef3a96a827dc3bfda86 + url: "http://test.akuhotel.com:8099/laiiihz/tencent_live_fluttify.git" + source: git + version: "1.0.0" term_glyph: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 23af6df..1ee2d28 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -181,7 +181,9 @@ dependencies: #腾讯云点播上传SDK flutter_txugcupload: ^0.0.2 #腾讯直播 - tencent_live_fluttify: ^0.2.0+1 + tencent_live_fluttify: + git: + url: http://test.akuhotel.com:8099/laiiihz/tencent_live_fluttify.git #腾讯IM #TODO 已经将错误提交到上游代码,后期请使用新版本 #more at https://github.com/JiangJuHong/FlutterTencentImPlugin/pull/101