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

Re-render causes disconnect

未關閉
#210 3 則留言 0 個 reaction 已指派 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 摘要。