berkus / rfc5766-turn-server

Automatically exported from code.google.com/p/rfc5766-turn-server
0 stars 0 forks source link

uclinet minimum packet interval #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is not possible to configure "Per-session packet interval" less than 10 
milliseconds.

We need 5 milliseconds to simulate some audio+video clients.

Find patch attached just reducing the libevent timeout from 10 msecs to 1 msec.

PD. Feel free to close this issue without solving if this is a very specific 
use case.   Anyway I thought it could be useful for reference in case somebody 
needs to do the same in the future.

Original issue reported on code.google.com by g...@tokbox.com on 29 Mar 2013 at 3:55

Attachments:

GoogleCodeExporter commented 9 years ago
I'll see what I can do. 

Thanks.

Original comment by mom040...@gmail.com on 29 Mar 2013 at 4:03

GoogleCodeExporter commented 9 years ago
The main problem is that not all OSes support less then 10 ms scheduling 
granularity. But I'll make the change, test, and submit if it will be working 
more-or-less fine.

Original comment by mom040...@gmail.com on 29 Mar 2013 at 4:05

GoogleCodeExporter commented 9 years ago
I tested it in Mac OS and Linux (RH 5).  

Original comment by g...@tokbox.com on 29 Mar 2013 at 3:29

GoogleCodeExporter commented 9 years ago
OK, thanks. When I'll have a stable new overall build, I'll put it in. 
Hopefully, soon.

Original comment by mom040...@gmail.com on 29 Mar 2013 at 4:53

GoogleCodeExporter commented 9 years ago
Fixed in 1.7.2.0

Original comment by mom040...@gmail.com on 29 Mar 2013 at 11:36

GoogleCodeExporter commented 9 years ago

Original comment by mom040...@gmail.com on 29 Mar 2013 at 11:36