Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Agora RTC 和 Signaling SDK 来构建视频通话功能。但是我遇到一个问题,如果接收方突然退出应用程序(比如从最近的托盘中刷出应用程序)。然后,呼叫方仍然在呼叫屏幕上,无法从接收方获得任何结束视频通话的事件。
请帮忙
要解决这个问题,需要在receiver的activity中的onDestroy方法中添加离开通道逻辑。这样当接收者退出应用程序时,他将离开频道并通知调用者。