Top

[Sandbox] Using WebRTC on Android

Comments

13 comments

  • Official comment
    Jérôme Gully

    Hello,

    For the moment the SDK methods of ITelephonyListener (onCallAdded...) are only triggered if you have both audio and video autorisations. So additionnaly to the permissions listed in your manifest, you have to ask runtime permissions for audio and video before you can recieve calls.

    Comment actions Permalink
  • Nanan Setiady

    I also forgot to mention that I already included these permissions and added permission requesting methods only for microphone/audio recording since I only wanted to use Voice Call feature only. I already followed the requirements mentioned on the SDK Guide.


    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PROFILE" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
    <uses-permission android:name="MODIFY_AUDIO_SETTINGS"/>
    0
    Comment actions Permalink
  • Pascal BORSCHNECK

    Hi Nanan,

    I'll ask the Android team to have a look.

    Best regards,
    Pascal

    0
    Comment actions Permalink
  • Pascal BORSCHNECK

    Creating a Zendesk ticket for asking logs

    0
    Comment actions Permalink
  • Pascal BORSCHNECK

    Hi,

    Do you still have this problem ?

    Pascal

    1
    Comment actions Permalink
  • Benjamin CHRIS

    This issue still happens.  I am not a poster of this comment, but as an Android developer,  this issue is really here.  Github WebRTC Android sample app:  It is never being worked for incoming call.  Only outgoing call layout is being appeared, but incoming call is never working (from the caller in both of web and mobile)

    0
    Comment actions Permalink
  • Vamsi KONANKI

    Hi Pascal BORSCHNECK ,

    I'm still facing the same issue, Notification and Web-RTC calls are not triggered when android application killed.

    Could you please help me out?

     

    Best Regards,

    Vamsi K

    Wilco Source LLC.

    0
    Comment actions Permalink
  • Cedric BRUCKNER

    Hi Vamsi,

     

    Have you implemented PUSH ?

    https://hub.openrainbow.com/#/documentation/doc/sdk/android/modules/Push

     

    Regards,

    Cédric

    0
    Comment actions Permalink
  • Vamsi KONANKI

    Hi Cedric BRUCKNER ,

     

    I have implemented the PUSH and when the application is in Active state(App Opened) application is receiving calls and messages, When application closed/ Killed it's unable to receive calls and message.

     

    Thanks and Regards,

    Vamsi K

    0
    Comment actions Permalink
  • Cedric BRUCKNER

    Hi Vamsi,

     

    If you are unable to receive calls and messages when application is closed or killed, it means that your PUSH implementation is not working. Could you share with us, application logs ? I am particularly interested in logs about the application startup and then logs when application is closed and supposed to receive a message.

     

    Regards,

    Cédric

    0
    Comment actions Permalink
  • Vamsi KONANKI

    Hi Cedric BRUCKNER,

    Here I attched the link, Kindly help me out from this issue.

    https://docs.google.com/document/d/1EEJfZieawuOaV562tzYlcdOrseP8eExRV46SknXPMoU/edit?usp=sharing

    Thanks and Regards,

    Vamsi 

    0
    Comment actions Permalink
  • Cedric BRUCKNER

    Hi Vamsi,

     

    I have checked your logs are everything seems ok.

    Have you uploaded the correct firebase key for your application in the sandbox environment ?

    Have you correctly added a service in your application extending FirebaseMessagingService ?

     

    Regards,

    Cédric

    0
    Comment actions Permalink
  • Vamsi KONANKI

    Hi Cedric BRUCKNER ,

    Web RTC calls are working fine, recently I tested using rainbow SDK version 1.64.0 it's perfect.

     

     

    Best regards,

    Vamsi K

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message