Android SDK - Reception of WebRTC Call
Dear Community,
I have a Rainbow Application used from a web with the WebSDK and an App with the AndroidSDK.
In my context the Web browser application is the one that starts the call when available and from the Android App the user can accept the call.I have a Web >> Web implementation working and now I am trying to have the Web >> App versión working.
So in the App I connect with the user and it gets connected, the presence from both contacts is updated in both ends (Web and App) and I call to register the Listener:
RainbowSdk.instance().webRTC().registerTelephonyListener(this)
I have the methods from the listener and when calling from the Web "onCallAdded" is not called.
If from the web I cancel the call try then yes it is called the "onCalledRemoved"
If I make a call from the App (although is not my use case) the web is detecting the new call.
I have used the WebRTC sample app that list my contacts and calling from my web client to the WebRTC Sample App is happening the same (No call to onCallAdded and yes call to onCallRemoved)
I have tried tto do it on physical deviced (USB connected) and happens the same.
Also from the device alone and happens the same.
Any ideas what can I try to detect the issue?
Thanks and best regards
-
Additional comments:
I tried to call from the Web RTC App to the Android App and the method onCallAdded is called.
So I asume something related to different SDKs been used?
From the Web application I have I can call other Web application with no issue:
To call from Web I am using:
rainbowSDK.webRTC.callInVideo(contact)
To receive in the Web I am responding to event onWebRTCCallChanged if status is RINGING_INCOMMING and goes well.
Do I need to do anything else if contact is connected from device?
Thanks and best regards
-
Dear Alejandro,
developer questions should be posted on the hub community
https://support.openrainbow.com/hc/de/community/topics/115000150070-Hub-Support-Community
brgds
Andreas
Por favor, entrar para comentar.
Comentários
3 comentários