Phase 4-Dudangyimian \ project-Design of a video compression-based real-time monitoring system \sprint3-acquisition End transmission subsystem

Source: Internet
Author: User

In the above iteration, the Image acquisition module through the acquisition of images sent to the main program, encoding, because we collect the image is the JPEG format, in fact, it is encoded after the compression format, so there is no need to repeat the code, so skip the step; The following is the network Transport Subsystem Section, The aim is to transfer the captured images to the remote client's player and decode and play them through the network.

1. Design work Flow

A, initialization includes: 1) TCP socket initialization; 2) Register the event with Epoll;

b, handling the event, including processing when the socket receives the network packet, and processing after the socket has been sent out.

Phase 4-Dudangyimian \ project-Design of a video compression-based real-time monitoring system \sprint3-acquisition End transmission subsystem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.