I can view cameras, but I am having issues doing playback on selected camera. Because swapping between cams is causing playback to playback all previous cams videos onto one canvas.
From what I can tell. I think the observables are not clearing up correctly when calling.
videoController.removeObserver(videoConnectionObserver);
videoController.close();
videoController = null;
Hello Georg,
thank you for sharing this observation. Can you share with us more detail/code about the way you are using the XPMobileSDK and which version of the SKD you have downloaded.
We haven’t used the Observable pattern the way you are trying to do because we have experienced in the pass a critical memory leaks in the browser when we are re-using the canvas to show different cameras there. That’s the reason I would try to avoid this and start a new canvas + video connection for each camera.
Hello Teodor,
Sorry for the super late response. I have figured out a very complex way to solve my issue. To long back to remember but the actual solution was.