Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed reconnections not triggering audioVideoWasDemotedFromPrimaryMeeting #2893

Merged
merged 1 commit into from
May 13, 2024

Conversation

hensmi-amazon
Copy link
Contributor

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.

  1. Join a replica meeting
  2. Promote
  3. Switch wifi and wait for reconnect
  4. You should see a toast describing that you were disconnected

Checklist:

  1. Have you successfully run npm run build:release locally?
    y

  2. Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?
    n

  3. 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.

@hensmi-amazon hensmi-amazon requested a review from a team as a code owner May 10, 2024 21:07
@hensmi-amazon hensmi-amazon merged commit 4040baf into main May 13, 2024
10 checks passed
@hensmi-amazon hensmi-amazon deleted the reconnect-demote branch May 13, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants