Video conferencingIt is mainly used to develop software for transmitting audio and video data. During these development processes, the most core module is the transmission module. The performance of the transmission module directly affects the final quality of video conferencing, therefore, the selection of transmission modules is particularly important in video conferencing development. In the development process of the transmission module, due to the impact of QoS, data re-transmission technology is generally used. Therefore, the transmission module and the underlying development focus of video conferencing. We developed the transmission module, you can choose to use TCP or UDP for direct development or use the open source transmission library, because some open source transmission libraries are mature and can be used directly. If you develop your own transmission module, it is estimated that it is also a huge project. Now we will introduce the development and selection of the transmission module. 1.Use TCP for development Using TCP for direct transmission module development, data will not be lost during transmission. We can use the oicp port for communication, the advantage is that QoS guarantees and supports a large amount of data. The disadvantage is that the development cycle is long and the data connection establishment is much longer than that of UDP, in addition, the resource usage is larger than that of UDP transmission. 2.Development Using UDP UPD is a data transmission method, which cannot guarantee data reliability during data transmission, therefore, the development of the transmission module using UPD also needs to add its own QoS Packet Loss Processing and automatic resend functions. The advantage is that data transmission is faster than TCP, and the disadvantage is that the development cycle is long. 3.Develop with UDT Library UDT was built inUDPAnd introduce new congestion control and data reliability control mechanisms. UDT is a two-way connection-oriented application layer protocol. It also supports reliable data stream transmission and partial reliable data packet transmission. UDT features reliable data transmission without development. The disadvantage is that the model is simple and the port without oicp supports large data volumes. 4.Use the ranknet library for development Raknet is also a C ++ network library based on UDP network transmission protocol. It uses database functions to implement efficient network transmission services. Its specific application in some game fields, radnet can be implemented in twoProgram25,000 pieces of information are transmitted every second. The advantage is that you can directly call a function without development. The disadvantage is that traffic control fails due to network congestion during transmission of large data volumes over the Internet. To sum up,Video conferencingTransmission module development, the highest transmission efficiency is developed using UDP, but the development cycle is long. The transmission module developed with raknet cannot adapt to the transmission of big data, and UDT has a good advantage in the transmission of large data volumes. The disadvantage is that it does not support a lot of concurrency. However, after modification, the UDT can also perform high-capacity concurrency. Therefore, the UDT is the best choice for the video conferencing transmission module.