android


WebRTC on Android Chrome beta in IMS network


Recently we are trying to setup a webRTC application which will be running on Android device registered in IMS network. We are using Chrome Beta in Android device since we need to have support of IPv6 addressing scheme. I am having the following issue:
The device has IMS APN as well as Internet APN, as a result it has two different IP address for both these APNs.
We created the RTCPeerConnection with STUN disabled using the following code snippet:
var pc_config =
{
       "iceServers" : [ {
               "url" : "stun:0.0.0.0"
       } ],
       "iceTransports": "none"
};
var pc_constraints = {'optional': [{'googIPv6': true}]};
var pc = new RTCPeerConnection(pc_config, pc_constraints);
Even though we disabled STUN, we see that STUN binding request is going from the browsers, as per the standards it is the expected behaviour of the browser for consent freshness.
But as per the webRTC APIs, if we use RTCIceTransports Enum (which we did by adding "iceTransports": "none") the ICE engine will not send any packet, but in Chrome beta (Android) we see that this enum has no effect.
The main issue we are having is that, the STUN bind request is going from the Internet APN address to IMS APN address and vice versa, and as a result the IMS network nodes is considering this as a network threat and causing the network to disconnect in the device end.
So our question is (In Chrome Beta Android):
Is it possible to completely disable the STUN binding request?
If not can we configure the web RTC APIs to fetch the ICE candidates for the IP addresses of Internet APN only and ensure the STUN bind request goes only from Internet APN to the IP address of the Internet APN of the peer?
We tried the second approach, by filtering the ICE candidate with Internet APN address before sending the SDP offer and answer, so both the peers receives the ICE candidate of the Peer with Internet APN IP address only. But the STUN binding request from the browser is going from the IMS APN IP address to the Internet APN IP address of the peer received in ICE candidate.
Any suggestion to resolve this issue will be a great help to us.
Thanks and Regards
This completely disables STUN binding requests:
var pc_config = {'iceServers': []};

Related Links

Instagram api returns only 1 result for followerlist in android?
Fragment becomes blank after asking for runtime permission
How to run appium java testNG scripts without appium server?
Android Retrofit post request doesn't reach server
Inflate exception- error inflating textview
Show imageview with text in SlidingTabLayout android
Multiple LineCharts in aChartEngine
Android Studio Creating Level Map
Interactive UI controls on a word editor for android
React Native: Update view (ListView) on navigator pop
trying to build android app using ionic
Android: Height of table cell should get height of previous cell
how to update RecyclerView element from OnActivityResult
Cannot set typeface to tab of TabLayout bind with ViewPager in Android
How to push project from android studio into specific github folder in existing repository?
Passing ArrayList from AsyncTask to PagerAdapter

Categories

HOME
porting
fuelux
gdb
string
apache-flink
angular-formly
socket.io
gradient
web-hosting
nuget-package
modal-dialog
discrete-mathematics
project
google-schemas
minecraft-forge
endeca
naivebayes
nancy
docx
intershop
soci
database-connection
visual-studio-extensions
joptionpane
beta
perlbrew
stackexchange
gpio
apktool
datastax-enterprise-graph
ntp
mailkit
dsx-desktop
modalviewcontroller
least-squares
batching
wurfl
ideascript
stringtokenizer
attributeerror
wmp
linqpad
dbnull
signal-strength
apache-directory
getchar
convex-optimization
context-sensitive-grammar
truezip
lsyncd
google-photos
rxtx
structuremap4
rsa-archer-grc
autosar
xcode-server
omniauth-facebook
hadoop-partitioning
kendo-upload
httpruntime.cache
jnlua
inf
morton-number
cgi-bin
canvg
document-repository
ejb-2.x
beatsmusic
deform
universal-image-loader
xml-dsig
paste
syndicationfeed
gwt-openlayers
eclipse-kepler
model-driven-development
mbunit
printdialog
cnf
ui-select2
cardreader
os.system
thttpd
cross-database
relative
pylucene
drawtobitmap
silent
silverlight-oob
purepdf
feasibility
software-lifecycle
int64
technical-debt
wspbuilder

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App