stream-video-android icon indicating copy to clipboard operation
stream-video-android copied to clipboard

Improve peer connection health check to prevent reconnecting

Open liviu-timar opened this issue 1 year ago • 0 comments

🎯 Goal

When user does not have send-audio or send-video permissions the publisher peer connection (RtcSession.publisher) is null. Take this into account when checking the peer connection health in CallHealthMonitor.check() and prevent infinite reconnections.

Reported by Patreon in their audio room setup.

🛠 Implementation details

Check if user can publish video or audio and take this into account in CallHealthMonitor.check().

liviu-timar avatar Apr 29 '24 14:04 liviu-timar