Top

RAINBOW_ONWEBRTCCALLSTATECHANGED does not always emit

Comments

4 comments

  • 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
    Comment actions 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
    Comment actions 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
    Comment actions Permalink
  • Marc EGOLF

    Hi Konrad

    Yes this is exactly the case.

     

    Best Regards,
    Marc

    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