Comment #7 on issue 1382 by baranowb: Silence suppression handling
http://code.google.com/p/mobicents/issues/detail?id=1382
ReceiveStream:
line 231+
Shouldnt there be "clean" silence duration?
} else if (packet.getPayloadType() == dtmf) {
//clean silence
dtmfConverter.process(packet, buffer);
buffer.setTimeStamp(timestamp);
} else {
//clean silence
buffer.setFlags(Buffer.FLAG_DISCARD);
buffer.setDuration(DEFAULT_POLL_PERIOD);
}
Also not sure why this is like that:
//check total silence
if (silence > RTP_TIMEOUT) {
if (!this.rtpSocket.isSilenceSuppressed()) {
//TODO: precreate exception
this.rtpSocket.notify(new IOException("RTP channel is
broken"));
} else {
//check last rtp received report
if (this.rtpSocket.rtcpExpired()) {
//TODO: precreate exception
this.rtpSocket.notify(new IOException("RTP channel is
broken"));
}
}
}