Video stream distributing method
A video stream and thread technology, applied in the field of video stream distribution, can solve problems such as low distribution efficiency, receiving delay, and high resource occupation, and achieve the effects of improving distribution performance, real-time performance, and load balancing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0021] Embodiment 1: A video stream distribution method, including a data source thread and a distribution thread, one data source thread corresponds to N distribution threads, and one distribution thread corresponds to only one data source thread; the specific distribution steps are as follows:
[0022] 1) Create a thread pool, create twice the number of CPU threads used by the server, and divide the threads in the thread pool into data source threads and distribution threads, and establish a corresponding principle, that is, one data source thread corresponds to N distribution threads , a distribution thread corresponds to only one data source thread;
[0023] 2) Create a circular queue for the data source thread. The queue caches 50 frames of data by default. The head of the circular queue points to the newly entered data, and the tail of the circular queue points to the location where the data is obtained;
[0024] 3) Each distribution thread has a pointer to the shared qu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com