It is not so simple. You can not have the same quality stock cam because any cam app is working with generic drivers in CMs or any other ROM CM based . For the same reason , the audio (mostly capture) also will never have the same quality.
It is a price to pay: Camera and audio quality worse.
Some apps can even do a good job, but difficult to achieve equal quality.
Until the other day I used CM13 and even liked, but needed quality to scan a document on an emergency. I had to restore Stock Backup. I lost the desire to again change the ROM and stayed in Stock. Unfortunately it is a reality.
Some apps can even do a good job, but difficult to achieve equal quality.
One consolation is to use some Xposed Modules and other tools that make Stock ROM ... Less outdated, I would say.