decodeAsAudioRecordingState
Deserializes a recording session state written by AudioRecordingSession.State.encodeToByteArray.
AudioRecordingSession.State.Error is reconstructed from the stored message only; the original throwable is not restored.