On Tue, Jan 14, 2014 at 09:41:39AM +0100, Jacob Erlbeck wrote:
If (and only if) we can rely on incoming packets from
any type of BTS
when SEND_RECV is used, we could optimize these few packets away.
Otherwise I'd rather check, whether packets have been sent to the net
since the last timeout and only send a keep alive packet if there were none.
I disagree. Keep things simple and look at the connection state. if (and only
if) we start to look into DTX we can consider adding a heuristic that checks
the time of the last outgoing RTP packet.
holger