Description of changes: Reconnections were not triggering audioVideoWasDemotedFromPrimaryMeeting, only full disconnects. This change fixes that. I also made a new status code for this because the previous didn't always make sense since reconnects can occur due to client side issues.
Testing:
Reconnections now trigger the callback.
Can these tested using a demo application? Please provide reproducible step-by-step instructions.
Join a replica meeting
Promote
Switch wifi and wait for reconnect
You should see a toast describing that you were disconnected
Checklist:
Have you successfully run npm run build:release locally?
y
Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?
n
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved?
n
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #: N/A
Description of changes: Reconnections were not triggering
audioVideoWasDemotedFromPrimaryMeeting
, only full disconnects. This change fixes that. I also made a new status code for this because the previous didn't always make sense since reconnects can occur due to client side issues.Testing: Reconnections now trigger the callback. Can these tested using a demo application? Please provide reproducible step-by-step instructions.
Checklist:
Have you successfully run
npm run build:release
locally? yDo you add, modify, or delete public API definitions? If yes, has that been reviewed and approved? n
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved? n
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.