Compare commits

...

177 Commits

Author SHA1 Message Date
老皮
d1e55f54e4 channel改为Channel 2024-10-17 13:22:31 +08:00
老皮
f9d0ce9411 修复主播界面--右下角弹窗--主播任务--直播互动里--未完成按钮文字不居中的问题 2024-10-17 11:16:22 +08:00
老皮
cc67c9cacb 修复主播开播设置界面--联系方式按钮文字没有对齐的问题 2024-10-17 10:58:03 +08:00
老皮
f00dff9ca3 声网SDK升级(延时直播功能) 2024-10-16 16:58:05 +08:00
老皮
101973bdff 注释H5回调的openGiftWall方法,还是使用toGiftNamingAlertAllPageView方法跳到礼物墙 2024-10-16 13:15:40 +08:00
老皮
7b53729849 修复我的界面星币数值显示不正确的问题 2024-10-16 10:19:14 +08:00
老皮
95128b64ea 1、优化直播间聊天换行问题
2、PK连麦 结束图标(英文)更换
2024-10-15 18:30:10 +08:00
老皮
151abf13e8 优化直播间心愿显示文字和图片重叠的问题---改为跑马灯 2024-10-15 16:42:34 +08:00
老皮
fb340a152b 优化直播间聊天消息换行的问题 2024-10-15 16:40:11 +08:00
老皮
8d0cf94d46 删除将网络图片转为Drawable时候的先加载缩略图,因为缩略图和主图加载完都回调,会导致计算换行的代码和之后转Drawable的代码重复多次调用 2024-10-15 15:51:20 +08:00
老皮
e526964b11 修复英文环境下,神龙送菜金豆确认框问题 2024-10-11 15:54:02 +08:00
老皮
fa4ad7f32d 修复英文环境下,直播间礼物弹窗右上角--未开通贵族时候显示不全的问题 2024-10-11 14:50:06 +08:00
老皮
befc4e7833 游戏列表item Ui 间距调整 2024-10-10 17:26:24 +08:00
老皮
92228b64bb 直播间聊天IM换行问题,没有解决 2024-10-10 17:16:26 +08:00
老皮
096ee7ee68 遗落的文件加入git 2024-10-10 16:59:03 +08:00
老皮
82ce3a282f 礼物展馆修改规则图片地址 2024-10-10 15:35:06 +08:00
老皮
7ca1ee2aad 1、增加直播间机器人语言设置--同步潘多拉
2、官方通知消息图标同步iOS
3、系统消息查看详情按钮显示(举报通知的情况下)
2024-10-10 09:42:54 +08:00
老皮
a753526571 修改首页游戏专业--规则弹窗的内容--删除PDLive条款 2024-10-09 17:41:28 +08:00
老皮
ddcb757dc7 设置直播间女神说不能超出view 2024-10-09 17:23:27 +08:00
老皮
aa0a2e38a7 官方消息点击查看按钮没有翻译 2024-10-09 16:46:44 +08:00
老皮
a95068e7e5 方块大师游戏fromUid先不写死了,是厂商问题 2024-10-09 16:36:07 +08:00
老皮
c1ef54e7b1 1、举报提交信息UI修改 2024-10-09 16:34:50 +08:00
老皮
800e1382a4 1、修复跳一跳游戏购买没有调用接口的问题
2、方块大师游戏固定form_id为用户id
2024-10-09 15:46:22 +08:00
老皮
bfaa175e10 修复个人资料设置--地区设置弹窗不跟随系统语言改变的问题 2024-10-09 13:52:53 +08:00
老皮
81cdd97fc4 修复我的界面--名字为10个文字时显示Ui问题 2024-10-09 13:20:47 +08:00
老皮
6e0094e653 修复我的界面--贵族中心显示两行时UI问题 2024-10-09 10:44:33 +08:00
老皮
14a3eeebf2 1、Live.setReport增加app_type字段
2、app_type字段的值传 1代表PD
2024-10-08 15:32:47 +08:00
老皮
ef09d9c58a 新人观播礼开发基本完成 2024-10-08 15:28:01 +08:00
老皮
99bc3cd71c 1、修改版本号
2、登录时候增加字段 app_from  = PDLive
2024-10-08 11:18:38 +08:00
老皮
81d390f82e 1、神龙送财金豆确认弹窗增加关闭图标
2、设置弹窗点击外部和返回键不能关闭
2024-10-08 10:02:40 +08:00
老皮
4244272d00 Message.getListInfo、Message.getLists接口增加app_type字段 2024-10-08 09:46:49 +08:00
老皮
9ab0e4ad8d 合并潘多拉新人任务功能:
1、拷贝代码
2024-10-08 09:36:42 +08:00
老皮
684106bc59 合并潘多拉新人任务功能:
1、直播间Im消息布局,手动拷贝
2024-10-07 11:14:42 +08:00
老皮
9d2814c36f WebViewActivity增加点击跳转(openGiftWall)到周星榜 2024-10-06 18:04:14 +08:00
老皮
9475acd585 举报通知开发 完成 2024-09-29 13:19:44 +08:00
老皮
98343a2177 举报通知开发 2024-09-28 18:29:44 +08:00
老皮
f60915194a 主播端周星榜跳转优化:修改为点击跳转至礼物展馆--个人展馆页面 2024-09-28 11:18:43 +08:00
老皮
6ffe601060 1、用户编辑资料*号位置,需在最后一个字符后方 2024-09-28 10:35:53 +08:00
老皮
f52d7452f0 修复美颜被注释的问题 2024-09-28 10:05:10 +08:00
老皮
55bc6f917f 修改游戏房间列表上游戏图标的位置和大小 2024-09-27 16:19:04 +08:00
老皮
69b868f535 直播举报--消息中心点击后再次提供证据界面开发 2024-09-27 16:14:10 +08:00
老皮
ee8f744ed2 Merge branch 'refs/heads/v6.8.1' into 6.8.2 2024-09-27 10:09:00 +08:00
老皮
265e360670 消息中心官方通知时间位置改版,标题显示两行设置 2024-09-26 16:54:55 +08:00
老皮
4029392dad 龍神送財金豆确认弹窗 2024-09-26 16:20:48 +08:00
老皮
299e109c3d 优化 2024-09-26 13:44:17 +08:00
老皮
168d4a37b7 删除声网jar文件(原用来做so动态加载) 2024-09-26 11:30:51 +08:00
老皮
03a3c64a86 1、TinyPNG 压缩图片 2024-09-26 10:56:36 +08:00
老皮
2e84e799d4 1、相心美颜So文件静默加载增加下载失败、解压失败重试机制和多次失败后的提示 2024-09-26 09:40:53 +08:00
老皮
e69796e158 1、相心美颜So文件静默加载,但是不显示下载弹窗
2、so未加载成功主播开播提示:请稍等....
3、app组件没有依赖公共组件,依赖了main组件,现直接使用组件之间通信了
2024-09-25 15:46:52 +08:00
老皮
80892b14e4 1、删除腾讯IM、腾讯播放器jar+so文件
2、注释+删除使用了腾讯SDK的地方
2024-09-25 15:13:50 +08:00
老皮
9b4a2bd5e5 1、启动页注释视频播放(腾讯) 2024-09-25 10:51:13 +08:00
老皮
b300541ce9 1、删除打包x86架构的配置
2、声网SO不做动态加载
3、美颜so动态加载
2024-09-24 18:20:38 +08:00
老皮
13a373c73b Merge branch 'refs/heads/for_master_0829_体积优化' into 6.8.2
# Conflicts:
#	common/build.gradle
#	lib_faceunity/src/main/java/io/agora/beautyapi/faceunity/agora/SWManager.java
#	main/src/main/res/mipmap-xxxhdpi/login_twitter.png
2024-09-23 17:39:49 +08:00
老皮
6678dbb6d6 1、游戏IM修复 完成 2024-09-23 17:09:12 +08:00
老皮
5f4bae667b 1、游戏IM修复 1 2024-09-23 16:54:05 +08:00
Martin
b23b975edd 优化代码:游戏房去掉RTC,修复无法显示IM消息问题 2024-09-23 16:21:35 +08:00
老皮
03b05d0de0 1、删除融云RTC功能,app能跑起来了。但是游戏IM出问题 2024-09-23 15:59:41 +08:00
老皮
d79dba045d 修复直播间点击三个点--更多设置--举报闪退的问题(网速慢一点的情况下) 2024-09-23 13:14:08 +08:00
老皮
0646c2c6a7 优化为只有从主播PK中跳转直播间失败(被踢过)才不再随机匹配直播间了 2024-09-20 13:22:46 +08:00
老皮
58ba80929b 修复:主播PK中,用户点击PK对手头像的方式进入直播间(被踢出过的),提示“已被踢出直播间”,之后会自动进入到别的主播直播间 2024-09-20 10:52:34 +08:00
老皮
cf73d3218e 1、JDK版本改为18 2024-09-13 16:04:26 +08:00
f823f17bca Merge branch 'refs/heads/v6.8.1' 2024-09-13 14:32:02 +08:00
d63cba7db1 修复开播图片后摄像头卡住问题 2024-09-13 14:26:32 +08:00
a454a97c58 同步主分支代码 2024-09-13 10:37:19 +08:00
18142669586
0937186c93 修改推特登录 2024-09-13 09:56:48 +08:00
11e0d62dde 版本 2024-09-13 09:53:27 +08:00
f2ccf37022 Merge branch 'refs/heads/v6.8.1' 2024-09-11 15:40:08 +08:00
eb90ae9e03 Merge remote-tracking branch 'origin/v6.8.1' into v6.8.1 2024-09-11 15:34:58 +08:00
ec5f32cf1e 调整三星包支付无法唤起问题(R文件被覆盖) 2024-09-11 15:34:43 +08:00
ec5d4d77db 调整三星包支付无法唤起问题(R文件被覆盖) 2024-09-11 15:34:29 +08:00
0c74d81cc6 调整三星包支付无法唤起问题(R文件被覆盖) 2024-09-11 15:23:01 +08:00
18142669586
8e860b80d4 修改三星支付回调 2024-09-11 14:41:22 +08:00
老皮
0f03a754c1 1、腾讯播放器动态加载so---以后再搞
2、腾讯IM SDK可以删除---以后再搞
2024-09-07 10:17:35 +08:00
老皮
2b2fe90520 将项目大多数的png格式图片转为webP格式,减少apk体检18M 2024-09-06 14:10:56 +08:00
laopi
cbd99e0664 1、声网里美颜(相心)so动态加载 开发基本完成
2、Gradle速度很慢,配置缓存等设置
2024-09-04 17:32:19 +08:00
528647a0bc 新增配置隱藏第三方登陸按鈕 2024-09-04 14:23:58 +08:00
laopi
b4a4302cc7 1、删除无效的声网SO配置 2024-09-03 17:38:12 +08:00
laopi
09395b152e 1、声网jar + 下载so开发 基本完成 2024-09-03 17:16:37 +08:00
laopi
f5d8b7fed1 1、声网jar + 下载so开发 1 2024-09-02 18:32:06 +08:00
laopi
32257ce5a0 1、Google APP Bundle不需要配置,会自动分包,删除原来写的配置
2、删除几个多余的moudle文件
3、打链接包的时候,使用声网jar + 下载so的方式,不是链接包就使用声网远程依赖SDK
2024-09-02 15:39:30 +08:00
laopi
ca13774d87 1、Google APP Bundle打包配置
2、打包时忽略掉声网的SO文件
2024-09-02 13:09:27 +08:00
小小辛巴
e79741b297 项目编译报错,将jdk18改为17 2024-08-30 10:28:57 +08:00
238dfcc2d3 优化:替换社区视频播放器
优化:适配Android14图片权限
2024-08-28 14:03:31 +08:00
61b1101c3f 681终版 2024-08-24 14:19:17 +08:00
daf881f6a7 调整代码中包名获取方式
681送审版本
2024-08-22 10:04:55 +08:00
38f3b721e0 v681内部提测版本 2024-08-21 17:04:50 +08:00
04ae7eeacc Merge branch 'refs/heads/v681小游戏' 2024-08-21 10:43:27 +08:00
d863c0af5a update 2024-08-21 10:33:25 +08:00
99c1037a15 修复测试反馈问题 2024-08-20 18:19:31 +08:00
18142669586
3440b71229 修改包名 2024-08-20 18:11:31 +08:00
50686957dc update 2024-08-20 16:12:02 +08:00
18142669586
214e6f5d89 修改包名 2024-08-20 16:10:24 +08:00
2d9e1cd685 update风格化打包 2024-08-20 15:18:54 +08:00
60485deed5 fix修复测试反馈问题 2024-08-20 15:01:19 +08:00
7196ebd16e update 更新flavorDimensions配置和风格化google-services.json 2024-08-20 13:18:26 +08:00
6eee7b9ede update 2024-08-20 10:02:38 +08:00
e0405e9c13 修复测试反馈内容 2024-08-19 14:56:12 +08:00
e8e0fc32f9 修复测试反馈内容 2024-08-19 11:22:04 +08:00
3d4ad99c99 Merge branch 'refs/heads/master' into v681小游戏
# Conflicts:
#	live/src/main/java/com/yunbao/live/activity/SystemMessageActivity.java
#	main/src/main/java/com/yunbao/main/activity/MainActivity.java
2024-08-16 14:36:44 +08:00
a25e22b142 update 临时隐藏处罚通知入口 2024-08-16 14:33:57 +08:00
3aeabfa32b 修改更新版本:1、改成以服务形式下载。2、新增断点续传功能。3、新增下载后检查apk完整性。
修改主播设置联系方式接口地址
2024-08-16 14:22:58 +08:00
47da21351e update 版本 2024-08-15 17:31:39 +08:00
451a875526 Merge branch 'refs/heads/master' into v681小游戏
# Conflicts:
#	common/src/main/java/com/yunbao/common/http/PDLiveApi.java
#	common/src/main/res/values-zh/strings.xml
#	common/src/main/res/values/strings.xml
2024-08-14 15:59:11 +08:00
dc7b987eda 小游戏提测版本 2024-08-13 10:15:11 +08:00
fe28d3508b 新增小游戏相关内容 2024-08-09 14:06:46 +08:00
gongduoxiang
cb87974320 处罚通知,修改网络请求和activity跳转代码 2024-08-07 10:46:21 +08:00
gongduoxiang
dbd684a6e2 增加处罚通知功能 2024-08-06 16:29:15 +08:00
abc37aa486 调整测试反馈内容:【从用户的个人信息界面进入全站展馆本期角逐页面,查看周星礼物应该调用 Gift.liveGiftHallDetail】
调整测试反馈内容:【从banner进周星榜 退出 一直显示加载中怎么回事】
调整测试反馈内容:【包裹冠名礼物送出id丢失】
2024-08-06 10:40:39 +08:00
3349b2d7df fix 图片资源中英文 2024-08-05 17:26:52 +08:00
97d636ddec 更新版本号 2024-08-05 13:13:55 +08:00
3b8aedaa17 调整SVGA播放工具 2024-08-02 16:23:42 +08:00
40ba4b8aa8 修复开播通知可能出现两天的情况
修复svga可能只播放一次的情况
2024-08-02 14:49:28 +08:00
f7db0b0768 修复打开直播间信件箱闪退问题 2024-08-02 09:44:05 +08:00
ed642f0137 Merge branch 'refs/heads/master' into dev_680_礼物展馆
# Conflicts:
#	gradle.properties
2024-07-31 15:55:39 +08:00
d1512bc256 调整三星包 2024-07-31 13:45:41 +08:00
9f90040168 修复测试反馈内容 2024-07-30 16:47:47 +08:00
9ae6fedd8d 修复测试反馈内容
新增临时需求:banner点进礼物墙
新增临时需求:主播下播后显示违规内容(未接入接口)
合并潘多拉修复问题
2024-07-30 10:29:34 +08:00
516a068c25 修复游戏SDK在Android14时无法加载的问题 2024-07-29 11:04:47 +08:00
63b7a18c0b 修复语言问题 2024-07-29 10:21:06 +08:00
余前卫
6af48002bb 6.8.0:天梯赛数据不显示bug修复 2024-07-27 15:15:37 +08:00
79c730c1b7 fix PK邀请问题:A邀请B,B邀请C,C同意B,B同意A,会都加入到PK中 2024-07-25 15:36:11 +08:00
c20a9804e9 修复测试反馈内容 2024-07-25 15:00:05 +08:00
Martin
96a6b05d03 修改佩戴勋章接口 2024-07-19 15:44:06 +08:00
ba8090eec7 Merge remote-tracking branch 'origin/dev_680_礼物展馆' into dev_680_礼物展馆 2024-07-19 09:27:12 +08:00
e1fd4949b5 update 2024-07-19 09:27:00 +08:00
Martin
08c46a7684 礼物墙-修复bug 2024-07-18 18:28:15 +08:00
gongduoxiang
3a12d848e1 Merge remote-tracking branch 'origin/master' 2024-07-18 18:20:53 +08:00
gongduoxiang
cf245b0df8 有些本地的东西不去提交 2024-07-18 18:19:08 +08:00
1cde41f2d0 fix 测试反馈内容 2024-07-18 18:16:34 +08:00
092d4cb914 调整礼物墙部分文案 2024-07-18 17:51:51 +08:00
余前卫
0ea92c00a2 6.8.0:小游戏结算界面,观众视角修改 2024-07-18 17:31:44 +08:00
21ae621343 fix 修复礼物墙测试问题 2024-07-18 16:55:36 +08:00
048c66736f fix 修复礼物墙测试问题 2024-07-18 16:39:06 +08:00
d3055d8fb2 fix 修复礼物墙测试问题 2024-07-18 13:25:42 +08:00
Martin
b9164b6a08 礼物墙
第三方登录-新增校验
2024-07-18 13:19:30 +08:00
Martin
67e5e4e02f 直播间礼物列表-冠名字段修改 2024-07-17 16:14:35 +08:00
Martin
2351618e5a 拒绝随机PK提示英化 2024-07-17 13:26:07 +08:00
Martin
b2e2ca7303 Merge remote-tracking branch 'origin/dev_680_礼物展馆' into dev_680_礼物展馆 2024-07-17 12:12:35 +08:00
714e51b621 update 2024-07-17 12:12:14 +08:00
efa4c25c4b update 2024-07-17 12:11:41 +08:00
Martin
854cad8ec6 Merge remote-tracking branch 'origin/dev_680_礼物展馆' into dev_680_礼物展馆 2024-07-17 11:07:20 +08:00
46fba9429d update 2024-07-17 11:06:52 +08:00
c67ed4b736 Merge branch 'refs/heads/master' into dev_680_礼物展馆 2024-07-17 10:55:38 +08:00
Martin
4a91aafb4b Merge branch 'master' into dev_680_礼物展馆 2024-07-17 10:54:41 +08:00
18142669586
a0f3f246a6 补充jar 2024-07-17 10:53:43 +08:00
Martin
2b20782def 修改配置文件 2024-07-17 10:18:41 +08:00
Martin
152848a04f Merge branch 'master' into dev_680_礼物展馆
# Conflicts:
#	common/src/main/res/values-zh-rHK/strings.xml
#	common/src/main/res/values-zh-rTW/strings.xml
#	common/src/main/res/values-zh/strings.xml
#	common/src/main/res/values/strings.xml
#	gradle.properties
#	live/build.gradle
2024-07-17 09:53:22 +08:00
Martin
fe827482c9 游戏房上麦 2024-07-17 09:47:38 +08:00
7fc1c2e712 update 礼物墙 2024-07-16 17:24:42 +08:00
7a6dfe5a3d update 礼物墙 2024-07-16 16:39:30 +08:00
Martin
96c45820b0 荣誉成就 2024-07-16 16:11:27 +08:00
ac18150503 update 礼物墙 2024-07-16 11:15:12 +08:00
Martin
22b208bcd9 新增直播间冠名礼物特效 2024-07-16 10:31:18 +08:00
Martin
484069dac7 冠名礼物 2024-07-15 10:13:36 +08:00
ade837e85c update 礼物墙 调整间距 2024-07-15 10:06:06 +08:00
12a1f24101 update 礼物墙 布局 2024-07-15 09:47:12 +08:00
250d4832a3 update 礼物墙 布局文件 2024-07-13 21:45:10 +08:00
Martin
93db808f8b 佈局 2024-07-13 17:49:07 +08:00
Martin
59f0fa4acb 佈局 2024-07-13 17:02:59 +08:00
8fe6130c81 update 礼物墙 2024-07-13 16:51:37 +08:00
18142669586
a11d7f07e9 开播im未初始化 会在初始化一次。 2024-07-13 11:26:24 +08:00
18142669586
90bc70ebf7 Merge remote-tracking branch 'origin/master' 2024-07-13 10:38:03 +08:00
18142669586
4618c0a4f1 升级34 grd8.0 2024-07-13 10:37:37 +08:00
9292e6f5c5 Merge remote-tracking branch 'origin/dev_680_礼物展馆' into dev_680_礼物展馆
# Conflicts:
#	common/src/main/java/com/yunbao/common/http/PDLiveApi.java
#	common/src/main/res/values-zh/strings.xml
#	common/src/main/res/values/strings.xml
2024-07-13 09:29:11 +08:00
845b217c4d 新增礼物墙相关内容 2024-07-13 09:28:02 +08:00
Martin
7edd75e223 礼物墙功能 2024-07-13 09:27:11 +08:00
Martin
15a52aaa62 1、开通守护,im消息优化
2、游戏房安全区域优化
3、举报接口新增字段区分
2024-07-11 13:07:17 +08:00
余前卫
6d6010d023 Merge branch 'master' of https://gitee.com/xxkp/pdlivexp
# Conflicts:
#	app/build.gradle
#	common/src/main/res/values-zh-rHK/strings.xml
#	common/src/main/res/values-zh-rTW/strings.xml
#	common/src/main/res/values/strings.xml
2024-07-10 10:53:01 +08:00
Martin
94156e2984 Merge branch '直播间提示优化'
# Conflicts:
#	config.gradle
2024-07-09 13:49:31 +08:00
Martin
eb9f615f70 将支付相关的异常抛出,改为异常输出 2024-07-09 11:11:05 +08:00
9c38f40098 调整礼物墙tab 2024-07-04 15:02:41 +08:00
8cae89e7cd 新增礼物墙弹窗主题 2024-07-04 13:41:37 +08:00
2cefd50ac3 配合H5调整部分webView页面 2024-07-02 18:06:56 +08:00
3510a565f2 调整HTTP日志输出 2024-07-01 09:57:39 +08:00
e0669e98cf 新增上报日志功能 2024-06-29 10:11:42 +08:00
余前卫
2eea1f1b75 6.8.0:谷歌内购版本升级,小游戏结算界面优化 2024-06-27 18:30:51 +08:00
f1a1aae787 优化打包脚本,兼容低版本AndroidStudio使用 2024-06-27 14:28:33 +08:00
5027 changed files with 27565 additions and 70221 deletions

View File

@ -5,8 +5,8 @@ apply plugin: 'kotlin-parcelize'
apply from: "../package_config.gradle"
android {
compileSdkVersion rootProject.ext.android.compileSdkVersion
buildToolsVersion rootProject.ext.android.buildToolsVersion
namespace "com.yunbao.faceunity"
compileSdk rootProject.ext.android.compileSdkVersion
packagingOptions {
pickFirst "lib/armeabi/libyuvutils.so"
pickFirst "lib/arm64-v8a/libyuvutils.so"
@ -33,7 +33,8 @@ android {
versionName rootProject.ext.android.versionName
manifestPlaceholders = rootProject.ext.manifestPlaceholders
ndk {
abiFilters "armeabi-v7a", "arm64-v8a","x86","x86_64"
abiFilters "armeabi-v7a", "arm64-v8a"
// abiFilters "armeabi-v7a", "arm64-v8a","x86","x86_64"
}
}
aaptOptions {
@ -48,8 +49,8 @@ android {
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_18
targetCompatibility JavaVersion.VERSION_18
}
}
repositories {

View File

@ -1,7 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.yunbao.faceunity"
>
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />

View File

@ -38,9 +38,6 @@ import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import cn.rongcloud.rtc.api.RCRTCEngine;
import cn.rongcloud.rtc.api.callback.IRCRTCVideoOutputFrameListener;
import cn.rongcloud.rtc.base.RCRTCVideoFrame;
/**
* 美颜模块管理类
@ -178,44 +175,6 @@ public class FaceManager implements SensorEventListener {
private static final int CAMERA_SWITCH_SKIP_FRAME = 0;
private volatile boolean mSkip;
/**
* 渲染融云视频帧
*/
public void drawRongFrame(Context context) {
RCRTCEngine.getInstance().getDefaultVideoStream().setVideoFrameListener(new IRCRTCVideoOutputFrameListener() {
@Override
public RCRTCVideoFrame processVideoFrame(RCRTCVideoFrame callVideoFrame) {
//Log.i(TAG, "processVideoFrame: egl context " + EGL14.eglGetCurrentContext());
if (pauseFace) {
return callVideoFrame;
}
int width = callVideoFrame.getWidth();
int height = callVideoFrame.getHeight();
if (mIsFirstFrame) {
mIsFirstFrame = false;
//initCsvUtil(context);
mFURenderer.prepareRenderer(mFURendererListener);
}
//long start = System.nanoTime();
mFURenderer.setInputOrientation(callVideoFrame.getRotation());
FURenderOutputData data = mFURenderer.onDrawFrameInputWithReturn(callVideoFrame.getData(), width, height);
/* long time = System.nanoTime() - start;
if (mCSVUtils != null) {
mCSVUtils.writeCsv(null, time);
}*/
if (mSkippedFrames > 0 || mSkip) {
--mSkippedFrames;
return callVideoFrame;
}
if (data != null && data.getImage() != null && data.getImage().getBuffer() != null) {
callVideoFrame.setData(data.getImage().getBuffer());
}
return callVideoFrame;
}
});
}
/**
* 记录渲染工具调试用在processVideoFrame里使用
@ -278,12 +237,6 @@ public class FaceManager implements SensorEventListener {
}
/**
* 离开渲染界面时注销融云监听器不然会绿屏
*/
public void onClose() {
RCRTCEngine.getInstance().getDefaultVideoStream().setVideoFrameListener(null);
}
/**
* 释放资源

View File

@ -13,7 +13,7 @@ import com.google.gson.JsonObject;
import com.yunbao.faceunity.entity.net.FineStickerEntity;
import com.yunbao.faceunity.utils.FaceUnityData;
import com.yunbao.faceunity.utils.FileUtils;
import com.yunbao.faceunity.utils.ZipUtils;
import com.yunbao.common.utils.ZipUtils;
import java.io.File;
import java.util.ArrayList;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Some files were not shown because too many files have changed in this diff Show More