You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: no video if camera is disabled on init and then enabled (#1981)
### 💡 Overview
The videorenderer latest refactor introduced a bug. If remote video was
disabled initially and then joined. The video was not received. We sent
the dimensions to the SFU only after the published tracks bool came
true. But SFU doesnt set the video stream after that. It expects the
dimensions to be known before this.
The SFU contract for sending updateSubscriptions is
* send dimensions whenever it changes if view is visible
* send undefined dimensions if view is invisible
* send dimensions again whenever subscriber or publisher reconnects
This change ensures that the contract is satisfied now. It fixes the
issue.
Ticket: https://linear.app/stream/issue/RN-298/
0 commit comments