Praveen Kumar
Praveen Kumar

Reputation: 135

Video Freeze in Chrome after 1-2 minutes in webRTC, working fine in firefox

When i wrote the code 6-7 months back everything was working, with no issues what so ever. But recently when i tested it, In Chrome specifically video freezes after some time. Calling from Android implementation.

Call is working fine in firefox, safari. If both devices are on same broadband, the issue happens about 1-2 minutes later, if anyone on 4G or cellular it happens instantly. My best guess is that chrome skips one frame to encode, and the drops all coming frames.

chrome://webrtc-internals video sending graph

Here is a screenshot of webRTC internals sending video graph, after it dropped, you can clearly see the drop in 'sending bytes' and 'constant line' in encoded frames.

I don't even have any idea about how to debug this, any help is very appreciated. Thanks

Upvotes: 4

Views: 4322

Answers (2)

Somesh Kumar
Somesh Kumar

Reputation: 8638

I faced the same issue and as far as I know, this is a bug in Google Chrome version 56 and above. You can try downloading Google Chrome version below 56 it will work on the downgraded version. There are numerous bug reports filed with this bug and the interesting part is it is reproducible on Android's Google Chrome Application with version 61 and above.

Check out the following bug reports.

video Freezes on Google Chrome

Android Chrome 61, video freezes after connecting

Chrome 61 on Android 6.01 or 7.0 Received Video Freezes

Video freezing issues

Upvotes: 0

Philipp Hancke
Philipp Hancke

Reputation: 17350

How does the peerconnections iceconnectionstate look like? Does it go to disconnected and (after some time) to failed? See https://testrtc.com/webrtc-api-trace/ for an explanation for that part of webrtc-internals.

Upvotes: 0

Related Questions