Home > Mobile >  UDP is used for receiving RTP streaming data, there is a computer receives the UDP packet is stable,
UDP is used for receiving RTP streaming data, there is a computer receives the UDP packet is stable,

Time:11-25

1. Receive frequency: is about 1500 ~ 2000 packets per second, each packet 1000 + byte
2. Network: several computers are at the same local area network (LAN), 100 m broadband, and the program is running, several computers are actually take about 2 m of the download speed
3. The performance and configuration of basic computer performance: a few computer as

CodePudding user response:

The Windows platform, several computers, run the same application, the network environment, computer performance is similar, how such a big gap between the packet loss rate can be, what might be affected?

CodePudding user response:

Udp receives maybe will be lost, with their sockets the stable platform, the other must be a separate thread, finish a pack of non-blocking jilt go as soon as possible,
Before met the
https://blog.csdn.net/goldenhawking/article/details/105622237

CodePudding user response:

refer to the second floor 丁劲犇 response:
udp receives maybe will be lost, with their sockets the stable platform, the other must be a separate thread, finish a pack of non-blocking jilt go as soon as possible,
Before met the
https://blog.csdn.net/goldenhawking/article/details/105622237


My present udp is a separate thread, and receiving data, all of them into the container, another thread to read, and have all the time-consuming operation udp can move out, but the packet loss rate is very high, tried to use QT socket, also used a Windows sockets, situation about the same, and the packet loss rate of each day is different, volatility is larger, sometimes slightly lower, sometimes is very high, but each time you run the program, the amount of network is more than 2 m, also don't like network problems,
  •  Tags:  
  • Qt
  • Related