I know the opus codec assumes everything is 48kHz and will resample inputs to that.