Hacker News new | ask | show | jobs
by roman-holovin 743 days ago
I read it as in 380 packets per whole call, which was a minute long, not 380 packets per second during 1 minute.
1 comments

That's about 160 ms of audio per packet. That's a lot of latency to add before you even hit the network
Assuming continuous sound. You don’t need to send many packets for silence.
Voice activity detection and comfort noise have been available in VoIP since the very beginning, but now I wonder if there's some clever optimization that could be done based on a semantic understanding of conversational patterns:

During longer monologues, decrease packet rates; for interruptions, send a few early samples of the interrupter to notify the speaker, and at the same time make the (former) speaker's stack flush its cache to allow "acknowledgement" of the interruption through silence.

In other words, modulate the packet rate in proportion to the instantaneous interactivity of a dialogue, which allows spending the "overhead budget" where it matters most.