Anfonwch hwn fel neges destun: In situ characterization of an optically thick atom-filled cavity