Savant
Savant copied to clipboard
Improve performance of GPU-less AO-RTSP
Remove unnecessary memory copying.
- Create a writable
numpy array
directly fromGst.Buffer
, without copying memory fromGst.Buffer
tonumpy array
and then back toGst.Buffer
. - Found out if it's possible to pass
Gst.Buffer
rather thanbytes
fromalways_on_rtsp_frame_sink
toalways_on_rtsp_frame_processor
. I.e. check if Gstreamer don't destroyGst.Buffer
when there's existing python reference to it.