Top

RAINBOW_ONWEBRTCCALLSTATECHANGED does not always emit

Comentarios

4 comentarios

  • Konrad Hyzy

    Hi, 

    the RAINBOW_ONWEBRTCCALLSTATECHANGED event passes only Call object with all the updates. In order to retrieve the current state of the call, try looking at 'status' property of Call object. 

    I couldn't reproduce the same behavior with the newest SDK version. Call status comes back to {key: 0, value: "Unknown"} as soon as I hang up with one of the users.

    Would you be able to share your code with us? 

     

    Best regards,

    Konrad 

    0
    Acciones de comentarios Permalink
  • Marc EGOLF

    Hi Konrad,

    Thanks for your answer.

    Did you reproduce it exactly how I described above? Only when you follow this exact scenario you should be able to recreate my issue.

    As you see in my code below I retrieve the call status and create a console log. This works perfectly in every scenario except in the one I described in my first post.

     

    Best Regards,
    Marc

    0
    Acciones de comentarios Permalink
  • Konrad Hyzy

    Hi Marc,

    so just to make sure, you have two users: one (let's call him user A) is using CPaaS app (a third party app using Rainbow Web SDK), the other is using our UCaaS web client (user B)

    The scenario is as follows:

    1. A calls B

    2. B answers the call

    3. B hangs up

    4. A stays busy despite being effectively disconnected from the call

    Please confirm whether or not I am right so I can proceed with the tests. 

     

    Thanks in advance,

    Konrad

    0
    Acciones de comentarios Permalink
  • Marc EGOLF

    Hi Konrad

    Yes this is exactly the case.

     

    Best Regards,
    Marc

    0
    Acciones de comentarios Permalink

Iniciar sesión para dejar un comentario.

  • Pregunte a la Comunidad

    ¿Necesitas ayuda? Haz tus preguntas en la Comunidad para obtener respuestas de otros usuarios de Rainbow.

    Enviar un mensaje.