[Speex-dev] Lost packets during transmission

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Wed Nov 26 03:48:36 PST 2008


Just pass NULL as the "bits" argument to the decoder and Speex will
generate a frame to play instead of your lost packet. You can also use
speexdec --packet-loss X (where X is the loss in percent) to simulate
packet loss.

	Jean-Marc

Uri Rattner a écrit :
> Hi,
> 
>  
> 
> I was wonder how Speex handles (if at all ) lost packets when decoding
> the bit-stream .
> 
>  
> 
> 1.       Does Speex has any mechanism to handle lost packets (like AMR
> has for example)?
> 
> 2.       I  am using Speex in a constant frame size (160 bytes),
> narrowband, VBR off,  SPEEX_SET_QUALITY  = 3  and   SPEEX_SET_COMPLEXITY
> =1 .
> 
> I encode speech stream and sending the encoded packets to the their
> destination.
> 
> If I am loosing  4 continuous frames during the transmission , what can
> I expect to hear? noise ? quiet ? echo ?
> 
>  
> 
>  
> 
> Can anyone help me with this issues ?
> 
>  
> 
> Regards,
> 
> Uri Rattner
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list