NetGear_Async FAQs¶
 
What is NetGear_Async API and what does it do?¶
Answer: NetGear_Async is an asyncio videoframe messaging framework, built on zmq.asyncio, for lag-free video streaming over the network with minimal resource constraints. When it creates its own event loop, it uses the high-performance uvloop event loop (if installed, not on Windows). For more info. see NetGear_Async doc âž¶
 
How to get started with NetGear_Async API?¶
Answer: First, refer to the Switching from OpenCV guide, then go through NetGear_Async documentation âž¶. If you still have doubts, ask us on Gitter âž¶ Community channel.
 
"NetGear_Async is throwing ImportError on initialization", Why?¶
Answer: This error means, VidGear is installed WITHOUT asyncio package support on your machine (i.e. pyzmq or msgspec is missing). For this support, see Requirements âž¶.
 
What is the key difference between NetGear_Async and NetGear APIs?¶
Answer:
-
NetGear: implements a high-level wrapper around PyZmQ python library that contains python bindings for ZeroMQ - a high-performance asynchronous distributed messaging library that provides a message queue, but unlike message-oriented middleware, its system can run without a dedicated message broker.
-
NetGear_Async: is an asyncio videoframe messaging framework, built on
zmq.asyncio, for lag-free video streaming over the network with minimal resource constraints. It uses the high-performanceuvloopevent loop when it creates its own loop (if installed, not on Windows).
Key Difference: NetGear_Async integrates natively with asyncio applications, but has less features as compared to NetGear API (for e.g. no Multi-Server/Multi-Client, SSH Tunneling, or Frame Compression modes, no Secure Mode allowed_ips whitelist, and no Lazy Pirate reconnection). No benchmark comparing their speed or memory usage is available.
 
Can I use Multi-Server, Bi-Directional like modes in NetGear_Async?¶
Answer: NetGear_Async supports only Bidirectional Mode âž¶ and Secure Mode âž¶ (CURVE encryption, without allowed_ips whitelist). Other NetGear's Exclusive modes (such as Multi-Server, Multi-Client, and SSH Tunneling modes) are NOT supported in NetGear_Async yet, so use NetGear API âž¶ for them.
 
How to use NetGear_Async with custom Server Source from OpenCV?¶
Answer: See this usage example âž¶.
 
Why NetGear_Async is running slow?¶
Answer: Checkout tips suggested in this answer âž¶