I changed in opus.c channels param from 1 to 2:
BEGIN_PAYLOADS
PAYLOAD( -1, "opus", _OPUS_RATE, 48000, 2, CODEC_OPUS, AMCI_PT_AUDIO_FRAME )
END_PAYLOAD
That caused sems to accept offer
a=rtpmap:96 opus/48000/2.
a=fmtp:96 stereo=1;sprop-stereo=1.
and generate same in reply.
Then I did both playback and recording tests and didn't notice any audio
quality problems.
What kind of tests show bad audio quality if the above change is made?
If using stereo is not acceptable for some reason, by looking into
AmSdp.cpp, it might be possible to write a hack that causes sems to
accept the above kind of offer even when channels param has value 1.
-- Juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev