i'm developing a voip application, and i'm not satisfied in sending RTP.
I create my RTP stack because native Symbian stack didn't work fine.
I have no problem in receiveing RTP packets (using active object): i receive UDP packet and in RunL() i parse packet and write payload to audio interface (CMdaAudioOutputStream); quality is very good!
Problems start in sending RTP: i tried 2 solutions, but both ones don't work well.
1) I read input stream and then i send RTP packet (using active object): in RunL i recall function that reads stream and sends packet.
This solution doesn't work fine because i send few packets and quality is very very low (for example, if i speak a word, i can listen to only one or two letters).
2) In MaiscBufferComplete i call function for sending rtp packet and then i call function for new stream reading.
This solution send a good number of packets, but quality is not very good, probably because i set timestamp in a static way: i record in PCM and then every packet has a difference in timestamp of 160 units, but i cannot have a constant sample time.
How could i do?
thanks in advance,