calejost / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

How necessary is the jitter buffer? #121

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Suppose we modified unimrcp such that it does not use a jitter buffer, but 
instead it always passes the audio directly to the ASR plugin immediately.  
What problems might this cause?  (We are using MRCPv1 for now; we may be open 
to the idea of moving to MRCPv2 in the future.)

The reason I ask is that we are trying to speed up speech detection.  If we 
reduce the playout-delay too much, then we get a lot of audio corruption during 
load tests, but if we increase the playout-delay, then it makes speech 
detection too slow.

Original issue reported on code.google.com by dexterou...@gmail.com on 31 Mar 2011 at 11:30

GoogleCodeExporter commented 8 years ago
P.S.  Sorry if this question has been asked before; I remember reading a 
discussion about this before, but I tried searching for it and couldn't find it.

Original comment by dexterou...@gmail.com on 31 Mar 2011 at 11:31

GoogleCodeExporter commented 8 years ago
P.S. I am having a lot more success finding discussions about the jitter buffer 
now.  (101 results when I search for "jitter".)  I don't know why I couldn't 
find them yesterday.

I am still going through them.  I just read that there is no way to completely 
eliminate the jitter buffer, but I haven't yet found an explanation as to why.  
But I will continue reading.

If the playout delay is truly adaptive, then I'm thinking about setting it to a 
minimum of say 30ms (your recommended for LAN), a maximum of 1000ms, and an 
initial value of maybe 60ms.  Does that seem reasonable?  It seems like I tried 
something similar before and I still got audio corruption during lightweight 
load tests, but I guess I can try again.

Original comment by dexterou...@gmail.com on 1 Apr 2011 at 2:54

GoogleCodeExporter commented 8 years ago
Implementation of the jitter buffer has been enhanced in the trunk in order to 
support the adaptive mode. If you still have questions with regards to the 
functionality of the jitter buffer, please post them to the discussion group.

Original comment by achalo...@gmail.com on 6 Mar 2013 at 2:09