question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

toggleVideo takes two attempts to switch on local tile

See original GitHub issue

I 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

  1. Start the meeting
  2. Click Toggle video (On)
  3. Video on for remote attendees but no local tile appears
  4. Click Toggle video (Off)
  5. Video goes off for remote attendees
  6. Click Toggle video (On)
  7. 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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
p-fouchtcommented, Feb 5, 2021

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

1reaction
p-fouchtcommented, Feb 12, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found