Hi TI,
I am trying to implement a camera switching feature without killing the waylandsink because otherwise the video streaming comes up to the top and covers our GUI.
I got the changing elements working and it can successfully switch camera for 50+ times and then killed by kernel. I know the right way to clean up an element is to set its state to NULL, I tried that on waylandsink but it also brought the video streaming to the top layer. It could do more than 50+ times switching though.
Is there any leaner way of cleaning up an element? Thank you in advance.
Boris