如果使用有线网络,可以正常呼叫(第一次呼叫会卡5秒左右),后面第2次就没有。
如果使用4G,就会一直卡住(超过30秒),然后看门狗重启。
4G呼叫的日志如下
[16:43:23.871][I][WMPF][816:1006][components/voip/voip_manager.cc:241][operator()]: ConfService Init begin
[16:43:23.872][I][WMPF][816:1006][components/voip/conf_service.cc:915][Init]: VoIP Init Start
[16:43:23.872][I][WMPF][816:1006][base/native_library_posix.c:22][wx_native_library_load_name]: Load Library wsclient, Trying /data/DoorTalk/lib/libwsclient.so
[16:43:23.872][I][WMPF][816:1006][base/native_library_posix.c:24][wx_native_library_load_name]: Load Library wsclient, File Is Regular File /data/DoorTalk/lib/libwsclient.so
[16:43:23.879][I][WMPF][816:1006][base/native_library_posix.c:28][wx_native_library_load_name]: Load Library wsclient, success /data/DoorTalk/lib/libwsclient.so
[16:43:23.879][I][WMPF][816:1006][base/native_library_posix.c:22][wx_native_library_load_name]: Load Library ilink_protobuf, Trying /data/DoorTalk/lib/libilink_protobuf.so
[16:43:23.879][I][WMPF][816:1006][base/native_library_posix.c:24][wx_native_library_load_name]: Load Library ilink_protobuf, File Is Regular File /data/DoorTalk/lib/libilink_protobuf.so
[16:43:23.913][I][WMPF][816:1006][base/native_library_posix.c:28][wx_native_library_load_name]: Load Library ilink_protobuf, success /data/DoorTalk/lib/libilink_protobuf.so
[16:43:23.913][I][WMPF][816:1006][base/native_library_posix.c:22][wx_native_library_load_name]: Load Library ilink_network, Trying /data/DoorTalk/lib/libilink_network.so
[16:43:23.913][I][WMPF][816:1006][base/native_library_posix.c:24][wx_native_library_load_name]: Load Library ilink_network, File Is Regular File /data/DoorTalk/lib/libilink_network.so
[16:43:23.929][I][WMPF][816:1006][base/native_library_posix.c:28][wx_native_library_load_name]: Load Library ilink_network, success /data/DoorTalk/lib/libilink_network.so
[16:43:23.930][I][WMPF][816:1006][base/native_library_posix.c:22][wx_native_library_load_name]: Load Library voipComm, Trying /data/DoorTalk/lib/libvoipComm.so
[16:43:23.930][I][WMPF][816:1006][base/native_library_posix.c:24][wx_native_library_load_name]: Load Library voipComm, File Is Regular File /data/DoorTalk/lib/libvoipComm.so
[16:43:23.936][I][WMPF][816:1006][base/native_library_posix.c:28][wx_native_library_load_name]: Load Library voipComm, success /data/DoorTalk/lib/libvoipComm.so
[16:43:23.936][I][WMPF][816:1006][base/native_library_posix.c:22][wx_native_library_load_name]: Load Library voipCodec, Trying /data/DoorTalk/lib/libvoipCodec.so
[16:43:23.937][I][WMPF][816:1006][base/native_library_posix.c:24][wx_native_library_load_name]: Load Library voipCodec, File Is Regular File /data/DoorTalk/lib/libvoipCodec.so
[16:43:23.965][I][WMPF][816:1006][base/native_library_posix.c:28][wx_native_library_load_name]: Load Library voipCodec, success /data/DoorTalk/lib/libvoipCodec.so
[16:43:23.965][I][WMPF][816:1006][base/native_library_posix.c:22][wx_native_library_load_name]: Load Library voipChannel, Trying /data/DoorTalk/lib/libvoipChannel.so
[16:43:23.965][I][WMPF][816:1006][base/native_library_posix.c:24][wx_native_library_load_name]: Load Library voipChannel, File Is Regular File /data/DoorTalk/lib/libvoipChannel.so
[16:43:23.981][I][WMPF][816:1006][base/native_library_posix.c:28][wx_native_library_load_name]: Load Library voipChannel, success /data/DoorTalk/lib/libvoipChannel.so
[16:43:23.981][I][WMPF][816:1006][base/native_library_posix.c:22][wx_native_library_load_name]: Load Library confService, Trying /data/DoorTalk/lib/libconfService.so
[16:43:23.982][I][WMPF][816:1006][base/native_library_posix.c:24][wx_native_library_load_name]: Load Library confService, File Is Regular File /data/DoorTalk/lib/libconfService.so
[16:43:24.010][I][WMPF][816:1006][base/native_library_posix.c:28][wx_native_library_load_name]: Load Library confService, success /data/DoorTalk/lib/libconfService.so
wx_wsclient_create
init ws
[16:43:24.098][I][WMPF][816:1006][components/voip/conf_service.cc:918][Init]: VoIP Init End
wx_wsclient_connectt fd 1
[16:43:24.098][I][WMPF][816:1006][components/voip/voip_manager.cc:248][operator()]: ConfService Init end
[16:43:24.099][I][WMPF][816:1006][components/voip/voip_manager.cc:175][Call]: JoinRoom begin
HTTP completed with status 35 'SSL connect error'
是单核的吗?看上去是网络连接将 CPU 占用了导致来不及喂狗。可以重点检查一下网络环境。
关闭看门狗,等超时后返回
HTTP completed with status 35 'SSL connect error'
voip_status = 7
wx_voip_session_call wait fail
[16:58:00.384][I][WMPF][962:1166][components/voip/conf_service.cc:1220][OnCallEnd]: OnCallEnd errCode: 0
[16:58:00.384][I][WMPF][962:962][components/voip/standalone/wmpf.cc:802][wx_voip_session_destroy]: wx_voip_session_destroy