toggleVideo takes two attempts to switch on local tile
See original GitHub issueI am using the exact block of code in Section 3 here to successfully start a meeting and converse using audio.
My issue is with starting my local video - i have to toggle on, off, then on again for it to render the local tile. I am using the code as stated in the documentation here
const { toggleVideo } = useLocalVideo();
<button onClick={toggleVideo}>Toggle video</button>
To Reproduce
- Start the meeting
- Click Toggle video (On)
- Video on for remote attendees but no local tile appears
- Click Toggle video (Off)
- Video goes off for remote attendees
- Click Toggle video (On)
- Video on for remote attendees AND local tile appears
Expected behavior Local tile should appear when video is first switched on.
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 88.0.4324.96
Additional context I also tested with 3 attendees. In this scenario to grid expanded but no video tile appeared until the second attempt.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Firefox Video tiles freeze after turning on/off · Issue #347
toggleVideo () // local function that turns on and off the video tile, not removing them EVENT TRIGGERED: => videoNotReceivingEnoughData ...
Read more >Using VidyoConnect: About Each Feature - VidyoCloud Support
Click the Toggle Video Layout icon to select how to view the participants' video tiles during the conference as well as the maximum...
Read more >How to Stop and Restart Tiling [to work over multiple days]
Can't finish your tile project in one day or need to pause mid-project? There's a right and wrong way to un-pause tiling so...
Read more >How To Replace A Single Cracked/Broken Floor Tile - YouTube
If you want to help support Shannon to produce more videos like this, visit https://www.house-improvements.com/donateShannon from ...
Read more >How to Replace a Cracked Floor Tile | Ask This Old House
2. Place the cold chisel on the deepest crack in the tile and ... with you to local hardware stores and tile shops...
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
We are in process of releasing v2.0 early next week, which is preventing merging it in. After the 2.0 release, we’ll go ahead and get this in and release it as a patch/minor update
This was released yesterday in
amazon-chime-sdk-component-library-react@2.0.1
I’ve verified that the steps provided by @k-ahn no longer reproduce the issue. Resolving this, but please reopen if you continue to experience this issue.