| Ded писал(а): |
| Не соглашусь с калькуляцией, |
А я процитирую ещё одну книжку про циску
| Цитата: |
| In the Cisco IOS VoIP product, the Digital Signal Processor (DSP) generates a speech sample every 10 ms when using G.729. Two of these speech samples (both with 10 ms of delay) are then placed within one packet. The packet delay is, therefore, 20 ms. |
Итого с циской в пакете 20 ms, а для кодека в 1000 байт/сек это и есть 20 байт.
далее:
| Цитата: |
| The packet delay is, therefore, 20 ms. An initial look-ahead of 5 ms occurs when using G.729, giving an initial delay of 25 ms for the first speech frame. Vendors can decide how many speech samples they want to send in one packet. Because G.729 uses 10 ms speech samples, each increase in samples per frame raises the delay by 10 ms. In fact, Cisco IOS enables users to choose how many samples to put into each frame. Cisco gave DSP much of the responsibility for framing and forming packets to keep router overhead low. The Real-Time Transport Protocol (RTP) header, for example, is placed on the frame in the DSP instead of giving the router that task. |
Вообще то факт: по книжке IP/UDP/RTP заголовок = 20 + 8 + 12 байт = 40 байт. Токма мой tcpdump показал следующую строку на пакет: [udp sum ok] udp 32 (ttl 60, id 60876, len 60). 32 понятно, это 20 + 12. Но почему то полную длинну пакета показал 60, это видимо с заголовками езернета.