Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

关于Android sdk 发布的问题

han_x_
Beginner
199 Views

Android sdk(v3.4)正常发布成功,打印如下信息:

08-02 16:20:13.266 D/WooGeen-ConferenceClient( 2980): Publish stream 
08-02 16:20:13.383 D/WooGeen-PeerConnectionChannel( 2980): Add Stream
08-02 16:20:13.385 D/WooGeen-PeerConnectionChannel( 2980): onRenegotiationNeeded
08-02 16:20:13.386 D/WooGeen-PeerConnectionChannel( 2980): Create Offer
08-02 16:20:13.388 D/WooGeen-PeerConnectionChannel( 2980): SDPObserver ---- onCreateSuccess
08-02 16:20:13.393 D/WooGeen-PeerConnectionChannel( 2980): Found h264 rtpmap 125, prefer at m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 127 125 97 99 101 124
08-02 16:20:13.393 D/WooGeen-PeerConnectionChannel( 2980): Change media description: m=video 9 UDP/TLS/RTP/SAVPF 125 96 98 100 127 97 99 101 124
08-02 16:20:13.477 D/WooGeen-PeerConnectionChannel( 2980): PC Observer ---- onSignalingChange: HAVE_LOCAL_OFFER
08-02 16:20:13.479 D/WooGeen-PeerConnectionChannel( 2980): SDPObserver ---- onSetSuccess
08-02 16:20:13.497 D/WooGeen-PeerConnectionChannel( 2980): PC Observer ---- onSignalingChange: STABLE
08-02 16:20:13.505 D/WooGeen-PeerConnectionChannel( 2980): onIceConnectionChange:CHECKING
08-02 16:20:13.506 D/WooGeen-PeerConnectionChannel( 2980): onAddTrack
08-02 16:20:13.507 D/WooGeen-PeerConnectionChannel( 2980): onAddTrack
08-02 16:20:13.507 D/WooGeen-PeerConnectionChannel( 2980): PC Observer ---- onAddStream
08-02 16:20:13.507 D/WooGeen-PeerConnectionChannel( 2980): onIceGatheringChange:GATHERING
08-02 16:20:13.507 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.508 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.508 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.508 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.508 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.508 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.508 D/WooGeen-PeerConnectionChannel( 2980): SDPObserver ---- onSetSuccess
08-02 16:20:13.553 D/WoogeenSurfaceRenderer( 2980): Frames received: 2256098. Dropped: 1962396. Rendered: 293700
08-02 16:20:13.585 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.585 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.586 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.597 D/WooGeen-PeerConnectionChannel( 2980): onIceCandidate
08-02 16:20:13.666 D/WooGeen-PeerConnectionChannel( 2980): onIceGatheringChange:COMPLETE
08-02 16:20:13.836 D/WooGeen-PeerConnectionChannel( 2980): onIceConnectionChange:CONNECTED

而当缺少最后一行:08-02 16:20:13.836 D/WooGeen-PeerConnectionChannel( 2980): onIceConnectionChange:CONNECTED

时,publish会既没有成功、也没有失败、也没有异常。 

请问是什么问题,该如何解决?

0 Kudos
3 Replies
He_Z_Intel
Employee
199 Views

什么情况下会缺少最后一行?

如果没有最后一行 那么ICE connection state会变为什么状态?

han_x_
Beginner
199 Views

这是一次未正常publish的日志:

08-02 17:34:54.428 D/WooGeen-ConferenceClient(31160): Publish stream 
08-02 17:34:54.551 D/WooGeen-PeerConnectionChannel(31160): Add Stream
08-02 17:34:54.551 D/WooGeen-PeerConnectionChannel(31160): onRenegotiationNeeded
08-02 17:34:54.552 D/WooGeen-PeerConnectionChannel(31160): Create Offer
08-02 17:34:54.555 D/WooGeen-PeerConnectionChannel(31160): SDPObserver ---- onCreateSuccess
08-02 17:34:54.561 D/WooGeen-PeerConnectionChannel(31160): Found h264 rtpmap 125, prefer at m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 127 125 97 99 101 124
08-02 17:34:54.561 D/WooGeen-PeerConnectionChannel(31160): Change media description: m=video 9 UDP/TLS/RTP/SAVPF 125 96 98 100 127 97 99 101 124
08-02 17:34:54.652 D/WooGeen-PeerConnectionChannel(31160): PC Observer ---- onSignalingChange: HAVE_LOCAL_OFFER
08-02 17:34:54.669 D/WooGeen-PeerConnectionChannel(31160): SDPObserver ---- onSetSuccess
08-02 17:34:54.689 D/WooGeen-PeerConnectionChannel(31160): PC Observer ---- onSignalingChange: STABLE
08-02 17:34:54.719 D/WooGeen-PeerConnectionChannel(31160): onIceConnectionChange:CHECKING
08-02 17:34:54.722 D/WooGeen-PeerConnectionChannel(31160): onAddTrack
08-02 17:34:54.723 D/WooGeen-PeerConnectionChannel(31160): onAddTrack
08-02 17:34:54.723 D/WooGeen-PeerConnectionChannel(31160): PC Observer ---- onAddStream
08-02 17:34:54.724 D/WooGeen-PeerConnectionChannel(31160): onIceGatheringChange:GATHERING
08-02 17:34:54.724 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.725 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.725 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.725 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.725 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.726 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.726 D/WooGeen-PeerConnectionChannel(31160): SDPObserver ---- onSetSuccess
08-02 17:34:54.778 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.778 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.779 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.833 D/WooGeen-PeerConnectionChannel(31160): onIceCandidate
08-02 17:34:54.894 D/WooGeen-PeerConnectionChannel(31160): onIceGatheringChange:COMPLETE

 

过程结束后再没打印新的onIceConnectionChange,ICE connection state应该还是CHECKING。

ps:我是用的MCU方式,Android端与web端进行音视频通信。web端发送信令,Android端收到相应信令后再发布视频。一般出现这种情况后,过一会再publish,或者刷新web页面后再尝试,可以恢复正常publish。

 

 

He_Z_Intel
Employee
199 Views

那说明当前网络无法连通

Reply