Close IP camera preview window
closePreview(cam)
closes the IP camera
preview window for the ipcam
object cam
.
You can close the preview at any time using the closePreview
function.
If you do not explicitly close the preview, it closes when you clear
the ipcam
object.