You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When MediaCodecManager.decodeFrame() catches a codec exception, it sets decoderFailed = true. After that, needCreate is always false and the decoder is not recreated until the user switches camera or leaves the app. RTP keeps flowing, so the watchdog does not reconnect either. The result is a frozen or black picture. Quad cells behave the same way.
Fix: retry decoder creation after a back-off, wait for the next SPS/IDR, and/or trigger a reconnect.
Activity
Merge pull request #48 from OpenIPC/fix/decoder-lifecycle
fix: re-create the video decoder after a failure, with back-off
Merge pull request #48 from OpenIPC/fix/decoder-lifecycle