views:

26

answers:

1

Hello,

For some time I've been using gsm codec for network audio chat. Now I'd like to implement smth like speex or iLBC due to "voice prediction". As far as I understand i need timestamps for packets. Also I know that to make codec to predict voice I have to pass it NULL packet for example.

But I cannot understand the entire concept! I.e.: App sends packets 1,2,3,4,5,6. I receive 1,2,3,6. What must I do?

Receive 1 - Play it.

Receive 2 - Play it.

Receive 3 - Play it.

Receive 6 - Hmm... Play 4,5 as NULL and then play 6 ?

And what if too many packets will be lost? Urrhhh.. Help, please!

A: 

sellibitze helped me with that. Thx.

Dalamber