hi there,
i found the problem with the delayed audio between application and the nanoBTS. the reason was the timestamp. a delay in openbsc causes packets to be delayed 1/2 seconds, so many packet of 1/2 seconds arrived at nanoBTS after the delay at once, nanoBTS buffers them.
the reason for the delay was the "usleep(100000)" hack inside input/ipaccess.c. the patch will use the tx_timer instead, so openbsc and application will not stall. this timer was already used with BS11 messages. (there it uses 50 miliseconds instead of 100 miliseconds.)
sending 10 messages to nanoBTS will take almost one second. can we decrease the tx_timer value for nanoBTS? how many packets can handle nanoBTS per second?
also i fixed some bugs in the rtp patch. use rtp_2.patch for commission/discussion instead.
regards,
andreas
Hi Andreas,
sorry for not getting back earlier. I honestly did not realize that there was a second attachment to your mail. We typically use inline patches, and one patch per mail on this list. Once again, sorry for the delay.
I'm now looking at the code in detail, I shall be getting back to you at some point during the next days.
Regards, Harald