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

ListenerForSignleValueEvent and ValueEventListener never firing in Android
Circle the cat for android
How to create an avd with android studio to preview a real device?
custom Listview Row textview Text push the Imageview on Right
MediaPlayer setVolume only works (not muted) when maxed (1.0f, 1.0f)
Browserstack for applications
Custom rectangle goes wrong on lower android version than 5.0
Send file from FileProvider to another app
Running Adjustent tab fragemnt in tablayout viewpager
Activity state loss, illegal state exception in android:Can not perform this action after onSaveInstanceState
Android multicast support for Nearby API
FCM Notification not appearing when it send through CURL command line
Android Studio Gradle cannot find Android SDK location
Split a String in PdfContentByte
get data from last 7 days and get rows and data inserted count according to day
sqlite3_step failure: NOT NULL constraint failed

Categories

HOME
batch-file
search
developer-tools
polymer
apache-jena
angular2-material
case
powerpoint
sublimetext
r-googlesheets
appcelerator
scripting
cq5
emscripten
spring-session
retrofit2
frontend
trac
webix
ibeacon-android
mel
github-enterprise
windows-ce
why3
emoji
endpoint
renjin
do-while
http-post
event-sourcing
easyphp
smartclient
digital-signature
bourbon
enterprise-miner
springfox
slidetoggle
oculus
entity-relationship-model
jaws
mql
jbutton
hreflang
twos-complement
pdw-file-browser
flatmap
nohup
gdata
cin
softmax
movilizer
sharp-snmp
print-css
drupal-theming
signal-strength
strftime
magento-2.0.7
convex-optimization
posixct
semantic-logging
spring-data-couchbase
bootstrap-tags-input
gets
grails-plugin
flex-monkey
winusb
latin
burrows-wheeler-transform
resourcemanager
mta
drawstring
kango-framework
stream-processing
nupic
crouton-os
file-move
jdi
avahi
dnssec
aspectj-maven-plugin
node-serialport
kubuntu
procedural-programming
trdion2011
live555
xml-dsig
openargs
scrypt
traceability
mysql-error-2013
argouml
intersect
xcode3.2
os.system
httponly
koken
ruby-1.8
hbm2java
nstokenfield
wordprocessingml
wcf-proxy

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