Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

iceCandidate is differen between mobile platform when it is in same network

40 views
Skip to first unread message

SH K

unread,
Jan 2, 2025, 10:49:13 AMJan 2
to discuss-webrtc
Hi, I'm beginner of webrtc.
When I tested some application that is made by webrtc, I have some questions about that.
I don't know why is different between iOS and Android about iceCandidate
I get different ice candidates from `onIceCandidate` callback method

iOS
192.168.x.x 49716 typ host tcptype passive generation 0 ufrag z+Th network-id 1 network-cost 10
10.2.x.x 62055 typ host generation 0 ufrag z+Th network-id 4 network-cost 50
Android
192.168.x.x 49716 typ host tcptype passive generation 0 ufrag sfSd network-id 1 network-cost 10

Android OS gets ice candidate less than iOS. So, It's connection failed by ICE Failed.
I want to get more ice candidate like iOS about host type icecandidate.
How can I get more IceCandidate when I use Android OS?
and I really wonder that why this different things happend betwenn AOS/iOS.
Please give me some advise. thank you.

cf) I used android/ios sdk made from https://webrtc.github.io/webrtc-org/native-code/android/
Reply all
Reply to author
Forward
0 new messages