aws / amazon-chime-sdk-js

A JavaScript client library for integrating multi-party communications powered by the Amazon Chime service.
Apache License 2.0
699 stars 472 forks source link

Avoid unnecessary transceiver creation by using no-video policy for content share #2849

Closed hensmi-amazon closed 4 months ago

hensmi-amazon commented 4 months ago

Issue #: N/A

Description of changes: TLDR: It probably could be reproduced without content but basically,

I'm pushing a fix on the backend to disambiguate the dummy MSIDs in the next week which fully mitigates this issue, but felt like removing the unnecessary subscriptions from the client side as well.

Testing: Mitigates issue without aforementioned backend fix.

Can these tested using a demo application? Please provide reproducible step-by-step instructions.

  1. Join 2 attendees with video
  2. Enable content share

For unrelated demo fix

  1. Join replica meeting and promote
  2. Enable video
  3. Demote
  4. Demo should automatically turn off video

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.