![]() The current-peer list is a list of dictionaries, each dictionary describing a neighbour to which the client is currently connected: The information about that piece is discarded after logging, so no piece is logged twice. Only information about completed pieces (pushed to player, or dropped) is transmitted. 'toplayer', the client timestamp at which the piece was read by the video player.'tobuffer', the client timestamp at which the piece was pushed to the playback buffer.'completed', the client timestamp at which the piece was completely obtained.'known', the client timestamp at which the piece first became known (first HAVE received).Each entry is a dictionary with the following contents: The piece information is a dictionary constructed in with an entry for each piece number. Any bytes exchanged with old neighbours have to be reconstructed from previous logging entries. 'peers', list of current peers (see below)Ĭaveat: due to a bug, 'down_total' and 'up_total' only count the neighbours the client is currently connected with.'pieces', piece info (see below) since last report.If playback hasn't started yet, validrange = "". In case of live streaming, wraparound is possible. 'validrange', (playbackpos,maxvalidpiece) tuple describing which pieces we're interested in downloading.'t_stalled', number of seconds spent in autopause/buffering, not including prebuffering.'t_prebuf', number of seconds required for prebuffering.'p_late', number of pieces received, but too late.'p_dropped', number of pieces dropped (not received or too late) since epoch.'p_played', number of pieces played since epoch.'up_rate', current upload speed (kbyte/s).'up_total', total number of kbytes uploaded to *current peers*.'down_rate', current download speed (kbyte/s).'down_total', total number of kbytes downloaded from *current peers*.'progress', download progress percentage (video-on-demand). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |