Change projector frequently

ziorufus

New Member
Hello!
I am a professor at the university and I'm using OBS to stream my lessons. I have a webcam that follows me [1], and I have PowerPoint for my slides. From time to time, I need to show my browser (or in general my computer), since I teach programming. In practice, I often need to switch between the slides and my computer, and vice versa. I created two scenes: one with the PowerPoint presentation and the webcam, the other one with the screen of my computer and the webcam. I then use my mobile phone (connected using WebSocket and OBS Blade [2]) to change the scene, i.e. when I want to switch from the slides to the computer and vice versa. I use the phone so that I can keep OBS in background and my students do not see it.
In addition to this, I have the HDMI port of my computer connected to a physical projector, on which I want my students to see the slides or the computer, but without the webcam, since they are present and they can see me directly.

I have two solutions:
(1) I created two more scenes, having just the slides or just the computer, and use the fullscreen projector feature in OBS
(2) I run another instance of OBS with two scenes (similarly to (1)) and used a software such Quick Camera [3] to show that camera fullscreen on the physical projector (after activating the virtual camera on the second OBS instance)

In both cases, I wrote a small script in Python that use WebSocket SDK [4] and intercept a change of the scene and change the projector (1) or the scene (2) automatically. My computer is a MacBookPro with macOS.

The question now is as follows. I honestly prefer option (1), but when I change the projected scene, indeed OBS "adds" another projected scene on top of the existing one. In practice, if I switch from the slides to the computer 10 times during the lesson, then I have to press 10 times the escape key to remove all the OBS projector on the second screen (the physical projector, in my case). Is this normal? In addition, is this efficient? This happens both using manually the "Fullscreen Projector (Scene)" menu in OBS or calling it with OpenSourceProjector socket call.
I could not find any way to remove the projector before creating another one (even in OBS, except by clicking Esc), nor a way to actually replace it, instead of adding a new one each time.

Hoping that my needs are clear, am I missing anything? Is there a smarter way to do what I need?

[1] https://www.amazon.it/dp/B0CZ6XY78Y
[2] https://obs-blade.kounex.com/
[3] https://github.com/simonguest/quick-camera
[4] https://github.com/aatikturk/obsws-python
 
Top