UAR three.js switch camera back from front to rear not working on ios 15

Issue:
if i want to switch back from front cam to rear cam, there is no video input.

  1. start UAR project with camera.start();

  2. do some things with the rear cam

  3. start front cam with camera.start(true);

  4. do some things with the front cam

  5. switch back to rear cam with camera.start(); or camera.start(false);

There ist no video signal after switch back from front to rear cam.

Affecting:

Safari iOS < 15

Workaround:
it’s working when i switch cam back inside the renderer() function

function render() {

requestAnimationFrame(render);
camera.updateFrame(renderer);

             if(switchCamera){
                    camera.start();
                    switchCamera = false;
	    }

}

requestAnimationFrame(render);