The application relates to the technical field of data communication, and discloses a device end
data transmission method and
system based on
WebRTC technology, which establishes a communication network through
WebRTC and an adaptive network protocol corresponding to the communication network, so that when the current network state is in a congested state, the
data transmission rate is determined according to the network bandwidth and the round-trip
delay, and when the current network state is in an idle state, the
data transmission rate is determined according to the
congestion window size and the
packet loss rate. The network can accommodate the data amount based on the network bandwidth and the round-trip
delay, and the data
transmission rate is determined, the network bandwidth is fully utilized, the data
preemption capability is improved, the
congestion window size and the
packet loss rate control the data
transmission rate, the
data error rate during data transmission is reduced, the reliability of data transmission is improved, the flexibility during
WebRTC data transmission is improved from two aspects, and the data transmission effect is greatly improved.