摘要 |
Disclosed are an anti-packet-loss real-time communication method, system and related device based on hierarchical coding. A transmitting end initially sets a coding parameter and a packaging parameter according to a network condition difference, and generates a payload containing coded data and protected data simultaneously according to the coding parameter and the packaging parameter and transmits the payload to a receiving end; the receiving end counts network status parameters according to the received payload and transmits the network status parameters to the transmitting end; and the transmitting end adjusts the coding parameter and the packaging parameter in real time according to the network status parameters, and generates a payload containing coded data and protected data simultaneously according to the adjusted coding parameter and packaging parameter. The present disclosure performs self-adaptive processing on packet loss or congestion occurring in a network during real-time communication, i.e., adjusts the code rate and transmission position of protected data in real time according to network conditions, thereby effectively preventing voice discontinuousness, image mess or pause occurring at a client, and improving the user experience. |