I'm working on a project where I need to access and modify the video and audio streams of an OBS user in real-time.
Currently, I have set up a system where the OBS user sends their stream to an RTMP server. From there, I access the frames and process them as needed. However, I can't help but think that this is an inefficient way to achieve my goal.
Is there a better approach to directly access the video and audio streams of an OBS user without relying on an RTMP server? I would like to find a more direct and efficient method for real-time stream manipulation.
Any insights or code examples would be greatly appreciated. My primary programming language is Python, but I'm open to exploring other options if they provide a more elegant solution. Thanks in advance!