Commit a748027
committed
pcaputil: Use pcap wall-clock gap when RTP timestamps understate pause
When the marker bit indicates a new talkspurt, RTP timestamps may not
reflect the actual pause duration (e.g. during hold). If the pcap
wall-clock gap exceeds the RTP timestamp gap by more than 150ms (a
jitter buffer to tolerate clock drift and network jitter), substitute
the wall-clock gap so silence is filled correctly.1 parent afed3d8 commit a748027
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
491 | 505 | | |
492 | 506 | | |
493 | 507 | | |
| |||
0 commit comments