android-webrtc-tutorial icon indicating copy to clipboard operation
android-webrtc-tutorial copied to clipboard

Remote Video not shown! "onAddRemoteStream()" not called.

Open toabm opened this issue 8 years ago • 5 comments

On an Android to Android connection the remote video is not appearing, the method "onAddRemoteStream()" is not being called most times. Only the local source. That happens on almost every connection, but around 1 out of 10 is working fine. Can't find the reason.....:(

toabm avatar Apr 22 '16 20:04 toabm

我也遇到同样的问题 ,请问这个问题你解决了吗?

GlenGithub avatar Jun 15 '16 09:06 GlenGithub

on an Android to Android connection the remote video is not appearing, the method "onAddRemoteStrem()" is not being called most times. onlly the local source ,that happens on almost every connection

sagartripix007 avatar Mar 24 '17 05:03 sagartripix007

@toabm Did you solved the issue? I'm also facing the same problem.

sukeshikontel avatar Sep 16 '17 08:09 sukeshikontel

@sukeshikontel did you manage to find a fix?

WisaniShilumani avatar Oct 13 '17 00:10 WisaniShilumani

onAddRemoteStream callback is not being called on Android to Android connection on same network(wifi). Any inputs?

The logs are:

30:59.410 16694-16694/me.kevingleason.androidrtc D/RTCListener: OnLocalStream - [localStreamPN:A=1:V=1] 2020-11-02 20:30:59.417 16694-16694/me.kevingleason.androidrtc I/RTCListener: OnPeerStatusChanged - ali Status: CONNECTING Dialed: false Received: false Type: NONE 2020-11-02 20:30:59.501 16694-17272/me.kevingleason.androidrtc I/RTCListener: OnDebug - [1,"Subscribe connected","16043292607440923"] 2020-11-02 20:30:59.501 16694-17272/me.kevingleason.androidrtc I/RTCListener: OnConnected - noor 2020-11-02 20:30:59.573 16694-17272/me.kevingleason.androidrtc I/RTCListener: OnDebug - {"packet":{"sdpMLineIndex":0,"sdpMid":"audio","candidate":"candidate:1190865175 2 udp 1685987070 103.77.0.49 42910 typ srflx raddr 192.168.0.101 rport 41175 generation 0"},"id":"","number":"ali"} 2020-11-02 20:30:59.637 16694-17272/me.kevingleason.androidrtc I/RTCListener: OnDebug - {"packet":{"sdpMLineIndex":1,"sdpMid":"video","candidate":"candidate:1190865175 1 udp 1685987071 103.77.0.49 57686 typ srflx raddr 192.168.0.101 rport 39592 generation 0"},"id":"","number":"ali"} 2020-11-02 20:30:59.749 16694-17272/me.kevingleason.androidrtc I/RTCListener: OnDebug - {"packet":{"sdpMLineIndex":0,"sdpMid":"audio","candidate":"candidate:1190865175 1 udp 1685987071 103.77.0.49 58893 typ srflx raddr 192.168.0.101 rport 40123 generation 0"},"id":"","number":"ali"} 2020-11-02 20:30:59.759 16694-17272/me.kevingleason.androidrtc I/RTCListener: OnDebug - {"packet":{"sdpMLineIndex":0,"sdpMid":"audio","candidate":"candidate:1190865175 2 udp 1685987070 103.77.0.49 15314 typ srflx raddr 192.168.0.101 rport 41175 generation 0"},"id":"","number":"ali"}

noorfatma avatar Nov 02 '20 15:11 noorfatma