The error came from the compiled webrtc library in our android application.
We switched from
implementation("io.getstream:stream-webrtc-android:1.1.0")
to
implementation("com.dafruits:webrtc:120.0.0")
and the recording error is gone.
Best regards
Stefan