fisico30 said:
hello schip666,
thanks for the clear reply. It makes sense. Since you seem to know things well, let me ask you about applications like voice and video that in the past were based on circuit switched networks. These two applications need an interrupted flow of data in order to avoid jittering.
Everything is moving towards IP (I am reading about IP over WDM) and packet switching. How can data and video work well with IP if the packets can arrive independently, not all at the same time, and out of order, to be later rearranged?
IP over WDM seem to skip a lot of other protocols, doesn' it? That makes things faster I guess...
thanks
fisico30
Let me crack open my Networking textbook. It's got a chapter on VoIP, and I know it covered those issues as pretty big Quality of Service concerns. Keep in mind that this is just a freshman college textbook, so it probably doesn't have all the answers. (I'm not even in a networking program)
First off, the packets are numbered in the sequence they are sent. That's a fairly obvious solution to be able to rearrange them.
One solution mentioned for the "inconsistent arrival time" is buffering. As long as the time between packets is not too long, you can buffer a few of them and play them back in the correct sequence and timing.
If the packet is dropped or not received in time, then there is one technique mentioned is to replace the missing packets with the previous packet, played at a lower volume.
For example, if you only receive packets 1-3-5-6 from the sequence, the program will play back 1-1-3-3-5-6, with the second 1 and 3 at a lower volume. It's the networking equivalent of duct tape and a prayer, but as long as there aren't too many dropped packets it's good enough.
If you have control over the network (administering a LAN, obviously won't apply to anything going over the Internet) you can configure the routers to discard less time-sensitive packets (such as Web or email packets) in favor of VoIP or streaming if the network starts to get congested.