Ant Media Server transcodes stream from Opus to AAC by default in WebRTC ingesting. It transcodes because it needs to create HLS, MP4 or DASH streams. However I only use WebM recording and I don't need AAC encoding. I just don't want AMS to transcode the audio stream.
Do you let me know if it's possible by changing some configuration?
Regards, A. Oguz