From: Brian G. <br...@ge...> - 2007-05-09 19:47:51
|
On May 5, 2007, at 1:16 AM, Nicola Bellotto wrote: > Last year I was asking if the LogProxy could be used to get _all_ > the data, > one by one, from a log file, without missing bits in case the PC > cannot > process the data as fast as they were recorded. > > On my old Player 1.6.5, I hacked a little the LogProxy to do that. > Now I would > like to use Player 2.0, but I was wondering if the problem has been > solved > (from the doc, it seems not...). I haven't verified this, but the readlog driver *should* deliver all the messages from the log file, and they should all be enqueued for delivery to the client. Of course, if the client reads too slowly, the server-side queue for that client will eventually fill up (after the TCP send and receive buffers have also filled up). If you get server-side messages about full message queues, then you should reduce the 'speed' of the readlog driver to less than 1.0, so that the log file is read more slowly. Alternatively, you could increase PLAYER_MSGQUEUE_DEFAULT_MAXLEN in player.h brian. |