TCP vs UDP on video stream

后端 未结 13 1874
名媛妹妹
名媛妹妹 2020-12-04 05:38

I just came home from my exam in network-programming, and one of the question they asked us was \"If you are going to stream video, would you use TCP or UDP? Give an

13条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-04 06:03

    I recommend you to look at new p2p live protocol Bittorent Live.

    As for streaming it's better to use UDP, first because it lowers the load on servers, but mostly because you can send packets with multicast, it's simpler than sending it to each connected client.

提交回复
热议问题