Kakao i Connect Live 커뮤니티

FATAL EXCEPTION: CaptureThread, java.util.ConcurrentModificationException 에러

안녕하세요.


예제에서 1번채널과 2번채널의 연결을 끊었다 접속하는 과정을 계속 반복하다보면
FATAL EXCEPTION: CaptureThread, java.util.ConcurrentModificationException 에러가 발생합니다.

혹시 해결책이 있을까요?

그냥 에러만 발생하는게 아니라, 앱이 죽어버려서 난감합니다.

감사합니다.

(제가 만들던 앱에서 발생하던 오류인줄 알았으나, 샘플앱에서도 동일한 증상이 발생하여 내용을 수정합니다.)

2020-10-27 18:05:06.722 21481-21481/com.remotemonster.example.simpledualcall E/BluetoothHeadset: BTStateChangeCB is unregisted
2020-10-27 18:05:06.725 21481-21481/com.remotemonster.example.simpledualcall E/AppRTCAudioManager: unregisterReceiver: Receiver not registered
2020-10-27 18:05:06.729 21481-1034/com.remotemonster.example.simpledualcall E/AndroidRuntime: FATAL EXCEPTION: CaptureThread
    Process: com.remotemonster.example.simpledualcall, PID: 21481
    java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextNode(HashMap.java:1441)
        at java.util.HashMap$ValueIterator.next(HashMap.java:1470)
        at com.remotemonster.sdk.core.RemonCapturerManager.onFrameCaptured(RemonCapturerManager.java:345)
        at org.webrtc.CameraCapturer$2.onFrameCaptured(CameraCapturer.java:164)
        at org.webrtc.Camera2Session$CaptureSessionCallback.lambda$onConfigured$0$Camera2Session$CaptureSessionCallback(Camera2Session.java:207)
        at org.webrtc.-$$Lambda$Camera2Session$CaptureSessionCallback$UDvzHNj8-cAJE1WNByx98pxD9vA.onFrame(Unknown Source:2)
        at org.webrtc.SurfaceTextureHelper.tryDeliverTextureFrame(SurfaceTextureHelper.java:369)
        at org.webrtc.SurfaceTextureHelper.lambda$new$0$SurfaceTextureHelper(SurfaceTextureHelper.java:203)
        at org.webrtc.-$$Lambda$SurfaceTextureHelper$7YTfC0byyd0o_zI7mNhfP12Gm0Q.onFrameAvailable(Unknown Source:2)
        at android.graphics.SurfaceTexture$1.handleMessage(SurfaceTexture.java:211)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:237)
        at android.os.HandlerThread.run(HandlerThread.java:67)
2020-10-27 18:05:07.066 21481-2660/com.remotemonster.example.simpledualcall E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
2020-10-27 18:05:07.075 21481-2659/com.remotemonster.example.simpledualcall E/libEGL: call to OpenGL ES API with no current context (logged once per thread)