社区版最新版本音频无法接通(偶尔阔以接通,接通概率很低),即场景3所示的情况,我看了之前有人反馈,说是修复好了,目前看并没有(如需要可提供ip给你们复现)。除音频,其他聊天正常。
具体分析如下
————————————
Android-chat 源码版本 2021-03-25 下载master,zip(因为最新的发行版里面有编译错误,config类缺失导致的,所以直接用的master)
环境:
001号手机:华为p40
002号手机:华为m30
Turn采用的是野火的地址
观察的是cn.wildfirechat.chat 的logcat error日志,均为002号手机连机日志
三个场景如下:
————————————
场景1:
002号手机,正常发起视频聊天,001号未没接听,002号自行挂断的error日志
2021-03-25 21:08:10.451 18813-18813/cn.wildfirechat.chat E/ldfirechat.cha: No package ID ff found for ID 0xffffffff.
2021-03-25 21:08:16.132 18813-20589/cn.wildfirechat.chat E/AsyncPlayer: stop
2021-03-25 21:08:16.135 18813-20651/cn.wildfirechat.chat E/AsyncPlayer: STOP CMD
2021-03-25 21:08:16.135 18813-20651/cn.wildfirechat.chat E/AsyncPlayer: mediaPlayer stop & release
————————————
场景2:
002发起聊天;001号接通,001号然后挂断的error日志
2021-03-25 21:09:04.834 18813-18813/cn.wildfirechat.chat E/ldfirechat.cha: No package ID ff found for ID 0xffffffff.
2021-03-25 21:09:04.936 18813-20788/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:09:04.936 18813-20788/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:09:04.936 18813-20788/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:09:04.941 18813-20788/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:09:04.941 18813-20788/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:09:04.941 18813-20788/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:09:04.997 18813-20788/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:09:04.997 18813-20788/cn.wildfirechat.chat E/turn_port.cc: (line 369): Failed to create TURN client socket
2021-03-25 21:09:06.382 18813-21289/cn.wildfirechat.chat E/ACodec: [OMX.hisi.video.decoder.vp8] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648
————————————
场景3:
001号发起聊天;002号点击接听之后没有反应,之前“请求中”的声音也没了,001号那边显示正在等待接听,过一会超时自行挂掉了,error日志如下
2021-03-25 21:13:00.587 18813-20589/cn.wildfirechat.chat E/AsyncPlayer: stop
2021-03-25 21:13:00.589 18813-22122/cn.wildfirechat.chat E/AsyncPlayer: STOP CMD
2021-03-25 21:13:00.589 18813-22122/cn.wildfirechat.chat E/AsyncPlayer: mediaPlayer stop & release
2021-03-25 21:13:00.659 18813-18813/cn.wildfirechat.chat E/ldfirechat.cha: No package ID ff found for ID 0xffffffff.
2021-03-25 21:13:00.659 18813-22129/cn.wildfirechat.chat E/rtp_sender.cc: (line 576): Tried to get DTMF sender from video sender.
2021-03-25 21:13:00.694 18813-22127/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:13:00.694 18813-22127/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:13:00.694 18813-22127/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:13:00.695 18813-22127/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:13:00.695 18813-22127/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:13:00.695 18813-22127/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:13:00.747 18813-22127/cn.wildfirechat.chat E/basic_packet_socket_factory.cc: (line 54): UDP bind failed with error 0
2021-03-25 21:13:00.747 18813-22127/cn.wildfirechat.chat E/turn_port.cc: (line 369): Failed to create TURN client socket
————————————
补充:
进入音频界面之后,不断有如下error日志出现
2021-03-25 21:09:27.489 18813-18813/cn.wildfirechat.chat E/RtgSchedManager: endActivityTransaction: margin state not match