Update:
First photo shows way of creating preview, camera selector, recorder, video capture object and binding it to lifecycle. Already checked that filtered qualities are not empty and there is available camera for defined selector.

Second photo shows the way of configuring recording by adding media output to it and enabling audio (permissions are checked). Just after start i am getting VideoRecordEvent.Finalize with error code = 4 and message same as in topic when 0 bytes are received.
Tested on android 8,9,10 and with different types of camera (front, back), every time same result.