TEL-439: measure media latency introduced by media pipeline - #627
Conversation
alexlivekit
left a comment
There was a problem hiding this comment.
Not sure what to think. This reuses the same entry and exit pointer for all packets.
- If a packet gets lost (e.g. media processor hook crash), we will not measure that at all.
- If a packet gets delayed by 21ms, what will happen is the next packet arrives, and we'd measure both latencies from the arrival time of the newest packet.
Should be a good enough first go at this, but not necessarily a reliable score.
This case should be tracked differently than latency IMHO.
I don't think we want to measure latency per packet though. Per frame should be sufficient IMHO 🤔 |
Not sure I understand that sentence 😅 With audio, we only ever have 1 frame == 1 packet.
|
|
Another point where we might want to improve things is reading from network. Consider the following scenario:
In theory we should be protected from this issue by virtue of the channel in RtpRead, but in practice we still run into this problem since we're only recording |
No description provided.