fix detection of same digits following each other when using DTMF RTP payload. drawback is little bigger reaction time.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1629 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 16 years ago
parent 1a8977e08f
commit 22fad01ddc

@ -345,7 +345,7 @@ class AmRtpDtmfDetector
// after MAX_PACKET_WAIT packets with no RTP DTMF packets received,
// a RTP DTMF event is sent out to the aggregating detector
static const int MAX_PACKET_WAIT = 5;
static const int MAX_PACKET_WAIT = 8;
/**
* Time when first packet for current event was received
*/
@ -382,7 +382,7 @@ class AmDtmfDetector
public AmKeyPressSink
{
private:
static const int WAIT_TIMEOUT = 100; // miliseconds
static const int WAIT_TIMEOUT = 200; // miliseconds
/**
* Session this class belongs to.
*/

Loading…
Cancel
Save