livekit / components-js

Official open source React components and examples for building with LiveKit.
https://livekit.io
Apache License 2.0
149 stars 67 forks source link

Sometimes issue in fetching Publication of remote participants #805

Closed Sakthivel-DB closed 5 months ago

Sakthivel-DB commented 5 months ago

Select which package(s) are affected

\@livekit/components-core, \@livekit/components-react, examples

Describe the bug

Sometimes, having issues in fetching publication of remote participants. If I got correctly, again if I reload the page, can't able to get publication

Reproduction

When two users try to connect in video meet, publication of local participant will only be fetched. Both cameras should be turned off initially. If I turn on the video, then I'm getting the publication

Logs

trackPublicationCheck 
[{…}]
0
: 
{participant: LocalParticipant, publication: LocalTrackPublication, source: 'camera'}
length
: 
1
[[Prototype]]
: 
Array(0)

System Info

system : Mac M1
OS : macOS Ventura 
version : 13.5.2

Browser : Brave 1.63.174

Severity

blocking an upgrade

Additional Information

No response

lukasIO commented 5 months ago

This is by design. With disabled camera, there will be no publications published. They will only publish once the track gets active for the first time.