Simultcast - `remoteVideoSourcesDidChange` called with incorrect number of videoSources
See original GitHub issueWhat happened and what did you expect to happen?
3rd attempt to enable simulcast in our app.
remoteVideoSourcesDidChange
is called with an incorrect number of videoSources
Have you reviewed our existing documentation?
Reproduction steps
We haven’t tested to see if this can be reproduced in a simple setup, so it may apply only to our app.
Using:
DefaultSimulcastUplinkPolicy
.config.serverSideNetworkAdaption = ServerSideNetworkAdaption.BandwidthProbing
Layout (devices are of no relevance, except for the number of attendees):
- Device A (local)
- Device B (remote)
- Device C (remote)
- all devices have their cameras ON
When Device C hits refresh :
- A will see B as having turned off its camera (also its stream disappears), though B has not taken any action.
remoteVideoSourcesDidChange
is triggered twice; once with the remaining remote video source (B) and the second time with an empty array.- weirdly enough, we can’t reproduce in less or more than 3 attendees
- cannot reproduce when not using simulcast
Amazon Chime SDK for JavaScript version
3.6.0
What browsers are you seeing the problem on?
any
Browser version
any
Meeting and Attendee ID Information.
No response
Browser console logs
no logs needed
Issue Analytics
- State:
- Created a year ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
AudioVideoObserver | amazon-chime-sdk-js
Called when the remote video sending sources get changed. Parameters. videoSources: VideoSource[]. Returns void. Optional videoAvailabilityDidChange.
Read more >amazon-chime-sdk-js/CHANGELOG.md at main - GitHub
A JavaScript client library for integrating multi-party communications powered by the Amazon Chime service.
Read more >amazon-chime-sdk-js | Yarn - Package Manager
Build video calling, audio calling, messaging, and screen sharing applications powered by the Amazon Chime SDK. The Amazon Chime SDK is a set...
Read more >amazon-chime-sdk-js/CHANGELOG.md - UNPKG
If the browser sends an incorrect packet rate, this will be logged ... 188, to explicitly request remote video sources to receive and...
Read more >It is possible for plugin alias support to emit NPE - IssueHint
JavaMethod$JavaMethodN.call(JavaMethod.java:837)", "org.jruby.ir.runtime. ... Simultcast - `remoteVideoSourcesDidChange` called with incorrect number of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This version is already in the changelog, but it is not yet available npmjs, do you have any predictions for when it will be available there?
I reproduced the issue without using
BandwidthProbing
, and observed exact same results as previous test.I used the same repro steps list below.
The only difference is step1. Three attendees (1, 2, 3) join the meeting enabling
simulcast
,priorityBasedDownlinkPolicy
withServer Side Network Adaption
set toNone
instead of usingBandwidthProbing
.Got the same results:
It seems it’s not a
BandwidthProbing
issue. @hensmi-amazon