Improvements:
1. Optimized video encoder by improving packet handling and extradata processing,
resulting in faster streaming performance, lower CPU load, and reduced memory usage. Now stream go turbo fast.
2. Optimized audio RTP timestamp handling.
3. Improvement Stop and Start IPCamera and Onvif/RTSP service.
4. Enhanced audio backchannel performance.
5. Enhanced code security checks.
6. Optimized IP address detection for routing interfaces.
7. Optimized data push/publish functions.
8. Various small other minor fixes, improving software and ONVIF stability.
9. Enhanced audio backchannel performance.
We have introduced a major refactor of the encoder pipeline, focusing on safety, performance, and flexibility.
🔹 Key changes:
-
API refactor: Clean separation of encoding, callback management, and SDP/extra data handling.
-
Memory safety: Added buffer overflow protection and optimized memory allocation to ensure safer and more stable operation.
-
Optimized packet handling: Improved extradata processing (H.264 SPS/PPS, HEVC VPS/SPS/PPS, MPEG4 configs) for greater compatibility.
-
Faster scaling and frame handling: Reduced overhead in
sws_scale
, frame re-use, and buffer management.
🔹 Benefits:
-
Faster stream startup and lower CPU usage.
-
Improved stability and memory efficiency under heavy load.
-
Higher compatibility with diverse decoders and VMS platforms.
👉 In short: the encoder core is now safer, faster, and smarter, delivering turbo-fast streams with lower resource usage.