whereby / sdk

MIT License
10 stars 2 forks source link

Trouble Loading Video feeds #272

Closed nrolls closed 3 weeks ago

nrolls commented 3 months ago

Issue description:

We have a setup built using react and Video feed for other participants is loading. Steps:

1) The Host joins the meeting room 2) External visitor requests to join the room 3) Host approves the request 4) External Visitor is in the room 5) video feed for one user is not visible to other user. 6) if the host refreshes and joins back again then the video feed is available of one user to other user


It does not load the video feed for other participants in call on the first load. However, if you refresh couple of times then it seems to be working fine although, this is true for the host the external Users joining can not do the same as they will require to wait for the approval of the host.

Another, issue is after the host refreshes the page they are not able to add any other recipients to the call. After inspecting WS (websocket)- events the error I found is "not_in_a_room".

thyal commented 3 months ago

not_in_a_room error indicates that the user hasn't joined the room. Possibly didn't call the joinRoom function? https://docs.whereby.com/reference/react-hooks-reference/guides-and-concepts/migrate-from-version-2.x-to-3#joinroom