There is an open peer connection without any data flowing in it for over an hour. Read the full article to learn more.
Code: | 4003 |
Type: | Warning |
Category: | Media |
Products: | testingRTC, watchRTC, analyzeRTC |
Message: | There is an open peer connection without any data flowing in it for over an hour |
What is this about?
WebRTC uses objects called peer connections to manage sending and receiving data.
Sometimes, these objects are kept open while not sending or receiving data at all, which is fine. The thing is that having them open for extended periods of time like that is indicative of poor behavior of the application.
Due to this, we issue a warning when we find that such inactivity takes place for a long time. We check this for durations of around an hour (or more).
Potential risks
This may indicate misuse of resources in the browser and may hint for a potential memory leak.
When it comes to watchRTC, the data collected in that time duration is rated and billed per minute, causing additional waste.
Suggested actions to take
-
Check in the application why the peer connection in question sends and receives no data
-
Close the connection if it makes sense to do so