QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
297 stars 44 forks source link

Fix/bytes remaining and blocking #63

Closed QuantumEntangledAndy closed 1 year ago

QuantumEntangledAndy commented 1 year ago

This fixes the issue where the stream would abort if bytes are remaining on the buffer at the eof of a packet.

It also changes how we deal with blocking when the gstreamer buffers are full which should reduce our random pauses

QuantumEntangledAndy commented 1 year ago

Adding a few more fixes in this one including:

This should reduce our memory usage remove points where the code can lock up and keep things running more smoothly over longer runs