memory leaks in pixel streaming(5.21)

We are currently using H.264, so this issue may not be relevant in our case. However, I was wondering when H.265 support will be available.