In my voip application, I am not able to do Settings of u-law properly.
I have seen that this settings can be done via calling following two APIS
SetDecoderMode (TAPSCodecMode aMode)
SetEncoderMode (TAPSCodecMode aMode)
I am able to go on with default APS mode(G711-A-law) and my VOIP call goes on perfectly.
Then I added support for G711 U-law but I found that I was not able to hear voice on remote side properly and there was too much noise but at the same time I was able to hear voice on my E-61 device clearly.
Then after doing loopback to the same application even I was getting the same problems.
Finally I concluded that the Encoding was not being done properly but the decoding was being done properly.
I would like to inform that the example bundled with the APS API(streamer) shows that We can set this Encoder/decoder Mode at any time after doing initialization.
As my code did not worked for this scenario, I had tried to do this after initialization of APS, after starting the recorder and player after receiving packet etc...
Any kind of help would be really great!: