Martin Pulec
b5f1fd3735
Replaced chrono clocks with integer nanoseconds
...
Ref 84861d6
It was perhaps rather a workaround for low-resolution Windows timeval
compat. On the other hand it enforced C++ API and makes things a bit
complicated. It had also broken some invariants, namely that the timeval
values had been wallclock time.
2022-03-18 08:52:29 +01:00
Martin Pulec
35bfc4cced
Fixed warnings for -Og
2022-01-17 15:10:34 +01:00
Martin Pulec
1b3b27eb7c
Updated copyright dates for modified files
2021-11-08 15:43:14 +01:00
Martin Pulec
7b5f83292d
Pbuf: do not delete immediately
...
Wait 2*playout_delay_us before deletion - this allows correct discarding
of late packets (with optional warning).
2021-05-13 09:08:26 +02:00
Martin Pulec
5a734625d3
Pbuf: auto-adjust stat interval
...
To prevent incorrect statistics to be presented.
2021-05-13 09:08:26 +02:00
Martin Pulec
eeba905142
Pbuf: moved stat processing to separate function
2021-05-13 08:23:10 +02:00
Martin Pulec
6c862ac51c
Pbuf: print reorder distance
2021-05-13 08:23:10 +02:00
Martin Pulec
cd7921844d
Pbuf: statistics fix
2021-05-13 08:23:10 +02:00
Martin Pulec
84ce8d0c47
Pbuf: print number of dups and reordered pkts
2021-02-03 14:27:51 +01:00
Martin Pulec
8df2063e8c
PBuf: mark frame as completed after a second
...
To avoid keeping the incomplete frame in the pbuf buffer forever.
2020-10-07 16:15:37 +02:00
Martin Pulec
4c71573a89
Fixed first series of Coverity bugs
2019-11-09 17:20:37 +01:00
Martin Pulec
6efc5c334f
Pbuf: print lost count + dups
...
* fixed out-of-order packets - duplicate packet is not considered
out-of-order
2019-06-26 16:25:49 +02:00
Martin Pulec
6ef9969abc
Use logger again
...
Use logger again where there is output printed in a color or highlighted.
2019-06-26 16:25:49 +02:00
Martin Pulec
44fdeae5fb
Pbuf: modified counting of packets
...
Packets are now counted in a bit-map to better handle packet
duplication, out-of-order etc.
+ print <100% red
2019-06-13 14:01:47 +02:00
Martin Pulec
215420dd62
Pbuf: slightly fixed output
...
When there is a packet reordering, max loss number was wrong.
2019-02-14 14:55:21 +01:00
Martin Pulec
005d0d8b11
Pbuf: print maximal length of consecutive loss
2018-07-04 10:13:55 +02:00
Martin Pulec
3ce5d3f477
Pbuf: print total number of packets
...
On exit, print total numbers of expected/received packets.
2018-07-04 10:13:55 +02:00
Martin Pulec
bff7975500
Pbuf: changed counting of packets
...
* granularity 10->100 - it is better resilient to packet reordering
* update cumulative counters more often - previously it was every 5
seconds when printing statistics on output, now it is every 100
packets
2016-07-26 15:06:11 +02:00
Martin Pulec
3e3287315f
Keyboard control: keybindings to control AV delay
2016-06-29 10:37:00 +02:00
Martin Pulec
52b5933ecc
PDB/PBUF: Fixed some leaks
2016-04-26 16:16:25 +02:00
Martin Pulec
fa72763d07
Pbuf: modify stats reporting a bit
2015-11-13 21:44:08 +01:00
Martin Pulec
a4656f840a
Allow --audio-delay to be negative
2015-10-27 12:18:06 +01:00
Martin Pulec
477216b900
Some messages now use logger.
2015-07-10 16:42:27 +02:00
Martin Pulec
ce5edcc935
Modified some periodical stat messages.
2015-07-10 16:42:26 +02:00
Martin Pulec
bee14bed1c
Pbuf: decrease stats interval
2015-07-10 16:42:26 +02:00
Martin Pulec
84861d683c
Pbuf: use high_resolution_timer instead of timespec
2015-06-17 14:27:49 +02:00