The play RTSP there are two ways, TCP and udp packet transmission,
Using TCP transport: occasionally appear Resource temporarily unavailable;
Using udp transmission mode: occasionally appear video screen phenomenon;
Please give a passing under the great god help me to analyze, WiFi transmission video data in what way better!
Thank you for the great god!
CodePudding user response:
1-2 s delay is acceptable, total want to smooth video for primaryCodePudding user response:
No one isCodePudding user response:
TCP connection is established to have three times handshake, appear error is the connection is not successful, later can't continue to transmit data,UDP does not need to check, the data sent directly, lost is lost, will not affect the subsequent data transmission,
CodePudding user response:
Wifi transfer request is too high to the network, using TCP transfer there will be a situation in which the server to send data quickly, and the client receiving too slow,So I just choose the udp transmission, but lost the udp frame is also hard to avoid!!!!!!
CodePudding user response:
The building Lord ah, your wifi signal is not good, for routing or add routing