Audio codec for low-latency radio over RTP
Posted: 31 Dec 2011 04:34
Hi,
Is there any information on what is the best audio codec for low-latency audio over network? suppose everything is just localhost
I tried L16 (both as RFC 2586 and RFC 3190), but the problem with fixed sample-rate seems to be that no matter how much I try the presentation time (PTS) seems to be affected by inaccuracy of my audio source sample interval.
I am reading from file and form RTP packets, but basically I cannot rely on let's say Windows timing to provide a constant intra-packet interval time, thus VLC client audio is either starving or I get the dreaded "PTS is out of range" message and buffers are dropped.
Please anyone, do you think a codec that has PTS as part of the RTP data payload can solve the issue?
Also when I look at the "scope" audio visualizer it is only about a third of the full width, does that mean something (corrupted data)?
please refer me to any document, thanks.
Thanks and happy new year
dashesy
Is there any information on what is the best audio codec for low-latency audio over network? suppose everything is just localhost
I tried L16 (both as RFC 2586 and RFC 3190), but the problem with fixed sample-rate seems to be that no matter how much I try the presentation time (PTS) seems to be affected by inaccuracy of my audio source sample interval.
I am reading from file and form RTP packets, but basically I cannot rely on let's say Windows timing to provide a constant intra-packet interval time, thus VLC client audio is either starving or I get the dreaded "PTS is out of range" message and buffers are dropped.
Please anyone, do you think a codec that has PTS as part of the RTP data payload can solve the issue?
Also when I look at the "scope" audio visualizer it is only about a third of the full width, does that mean something (corrupted data)?
please refer me to any document, thanks.
Thanks and happy new year
dashesy