tencentyun / TRTCSDK

腾讯云TRTC音视频服务,国内下载镜像:
https://cloud.tencent.com/document/product/647/32689
1.21k stars 1.07k forks source link

【iOS】-【9.7.0.11440】调用【TRTCCloud sharedInstance】APP直接卡住 #547

Open HasThu opened 2 years ago

HasThu commented 2 years ago

【当前现象】 调用【TRTCCloud sharedInstance】APP直接卡住 有时候上午和晚上都可以成功获取到trtccloud单例 但是下午就调用不了 APP直接卡住 时间长了就被系统干掉了 偶尔正常情况下 会打印creat producer 但是失败情况就直接卡住了

【集成包】 CocoaPod 官方源 pod 'TXLiteAVSDK_TRTC'

【SDKAppID】 1400669799

【房间号】 没有房间号 不管是进入房间还是创建房间都会有这个问题 没有到调用enterroom这个阶段

【useID】 没有useID 不管是进入房间还是创建房间都会有这个问题 没有到调用enterroom这个阶段

【问题时间段】 2022-05-07 14:00~17:30 时间是一个大致的范围

【机型】 如iPhone xs maxs

【之前版本有无此问题】 我集成的是最新版本

【复现概率】 必现

【复现途径】

  1. 调用【TRTCCloud sharedInstance】

【Demo 复现途径】 不可复现

【相关附件】 clog文件.zip

控制台log日志1 2022-05-06 15:03:22.671750+0800 PocketUniversity[9575:530011] [I][05-06/15:03:22.671+8.0][9575,259][log_setting.cc:91]Initialize success. path:/var/mobile/Containers/Data/Application/7E7BF39D-1966-43F3-8DF0-350F189ADDD1/Documents/log 2022-05-06 15:03:22.672129+0800 PocketUniversity[9575:530011] [I][05-06/15:03:22.672+8.0][9575,259][lite_base.cc:56]Initialize ThreadPool 2022-05-06 15:03:22.676786+0800 PocketUniversity[9575:530011] [I][05-06/15:03:22.676+8.0][9575,259][ntp_service_impl.cc:82]Start NTP time sync 2022-05-06 15:03:22.677760+0800 PocketUniversity[9575:530011] [I][05-06/15:03:22.677+8.0][9575,259][engine.cc:101]================ SDK Version: 9.7.0.11440 Device Name:iPhone XS MAX (A1921/A2101/A2102/A2104) System Version:15.4.1 ================ 2022-05-06 15:03:23.108848+0800 PocketUniversity[9575:530559] [I][05-06/15:03:23.108+8.0][9575,109827][ntp_service_impl.cc:140]NTP time sync failed

控制台log日志2 2022-05-07 15:46:50.962095+0800 PocketUniversity[16388:969743] [I][05-07/15:46:50.960+8.0][16388,259][log_setting.cc:91]Initialize success. path:/var/mobile/Containers/Data/Application/19205EE5-875B-4C5A-8391-A9F30C6F7998/Documents/log 2022-05-07 15:46:50.962430+0800 PocketUniversity[16388:969743] [I][05-07/15:46:50.962+8.0][16388,259][lite_base.cc:58]Initialize ThreadPool 2022-05-07 15:46:50.968712+0800 PocketUniversity[16388:971717] [I][05-07/15:46:50.968+8.0][16388,154627][ntp_service_impl.cc:135]Start NTP time sync 2022-05-07 15:46:50.968794+0800 PocketUniversity[16388:969743] [I][05-07/15:46:50.968+8.0][16388,259][engine.cc:105]================ SDK Version: 9.9.0.11217 Device Name:iPhone XS MAX (A1921/A2101/A2102/A2104) System Version:15.4.1 ================ 2022-05-07 15:46:51.377508+0800 PocketUniversity[16388:971717] [I][05-07/15:46:51.377+8.0][16388,154627][ntp_service_impl.cc:152]NTP time sync failed