-
-
Notifications
You must be signed in to change notification settings - Fork 256
Compression in NetGear API
NetGear API now supports real-time frame Encoding/Decoding compression for optimizing performance while sending the frames of large size directly over the network by encoding the frame before sending it and decoding it on the client's end automatically all in real-time. This aid us to achieve better control over the quality of the frame being sent over the network and thereby helps in optimizing the performance at cost quality. Thereby the user can now specify the format and other parameters (such as compression level, compression type) for the outgoing frame over the network easily
To achieve this NetGear API utilizes OpenCV's imencode
& imdecode
methods in conjunction with its flexible APIs at the Server's and Client's respectively. This feature can be easily activated through compression_format
string attribute in **option dictionary parameter at Server's end of the Netgear API during its initialization.
- enables compression support through resal-time frame encoding on the server-side
- client-side decodes frame automatically based on the encoding used
- Encoding and decoding supports all Format-specific flags
- support for JPG, PNG & BMP encoding formats
- provides exclusive options attribute
compression_format
&compression_param
to tweak this feature - Compatible with any messaging pattern and exclusive Multi-Server mode
- Only support for
JPG/JPEG
,PNG
&BMP
encoding formats as of now. - Incorrect Format-specific parameters through
compression_param
attribute are skipped automatically. - This feature as of now only available with the testing branch only!