Top

[Sandbox] Using WebRTC on Android

Comentários

13 comentários

  • Comentário oficial
    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.

    Ações de comentário 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
    Ações de comentário Permalink
  • Pascal BORSCHNECK

    Hi Nanan,

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

    Best regards,
    Pascal

    0
    Ações de comentário Permalink
  • Pascal BORSCHNECK

    Creating a Zendesk ticket for asking logs

    0
    Ações de comentário Permalink
  • Pascal BORSCHNECK

    Hi,

    Do you still have this problem ?

    Pascal

    1
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário Permalink
  • Cedric BRUCKNER

    Hi Vamsi,

     

    Have you implemented PUSH ?

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

     

    Regards,

    Cédric

    0
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário Permalink

Por favor, entrar para comentar.

Ainda não consegue encontrar o que você precisa?

  • Contate-nos

    Você tem alguma pergunta sobre o Rainbow? Deixe-nos uma mensagem para obter mais informações.

    Contato
  • Pergunte à Comunidade

    Você precisa de ajuda? Faça suas perguntas na Comunidade para obter respostas de outros usuários do Rainbow.

    Enviar mensagem