Android app only works on local network.

64 views
Skip to first unread message

Matthijs Kaminski

unread,
Aug 20, 2015, 8:02:50 AM8/20/15
to discuss-webrtc
Hi all, 

I've build an Android application that uses webrtc. It communicates between a server which will always send the offer and streams video. The client side does not stream its video or audio.
When connecting to a local server all works fine. But when connecting to a server with a public ip, the stream doesn't start.

The onIceGatheringChange function of my Peerconnection Observer shows that it is complete. But onIceConnectionChange function is never called showing that the iceconnection is connected, which it does when on a local network.
Any suggestions?

Thanks

Matthijs Kaminski

unread,
Aug 21, 2015, 4:34:34 AM8/21/15
to discuss-webrtc
solved.

Christoffer Jansson

unread,
Aug 21, 2015, 4:40:18 AM8/21/15
to discuss-webrtc
Good stuff ;).

For others in the same situation, could you share how you solved it?

Thanks!

/Chris

On Friday, August 21, 2015 at 10:34:34 AM UTC+2, Matthijs Kaminski wrote:
solved.
Reply all
Reply to author
Forward
0 new messages