AgoraIO-Extensions / AgoraIO-Extensions/agora-rtc-react

Re-render causes disconnect

オープン
#210 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted
主要言語
TypeScript
スター
41
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

説明

### What kind of problem do you need help?

When I have 2 components (Like in this example: https://www.agora.io/en/blog/agora-react-sdk-build-a-video-conferencing-app-in-minutes/):
1. Parent holding agora client
2. Child using agora client to do a video call

When the parent re-renders, the connection state of the agora client is reset to `DISCONNECTED` and the user gets disconnected.

What can I do to solve this issue?

Thanks for your help :)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。