Warlord1981NL
New Member
Hello everyone,
To describe the problem I am encountering I have 2 scenes: Main scene, this is the scene that I stream from and Overlay scene, this is the scene that contains the browser source for the OBS Websocket with some decorations around it. I have made the Overlay scene with the browser source so I can import the whole thing into other scenes and have a nice, consistent, ready-to-go package that I can just plop into a new scene and have it be visually consistent.
When I run the browser source with the Websocket page directly on my main scene everything works fine (even when I use the existing one from the Overlay scene). But when I import the Overlay scene as a source into my main scene then I will see the decorations I've made but whatever I put on the websocket page through my bot is not longer displayed or heard: MP3s and MP4s do not play, images aren't shown regardless of file type (I mostly work with PNGs but theres a few GIFs and JPGs as well), on rare occassions when the images do display then the animation scripts I use do not display, etc etc etc. I do not think it has to do with file sizes because I have been very careful with that, making sure nothing exceeds 1 MB.
Literally nothing sent to the websocket works when I import the overlay scene as a whole onto the Main scene. But when I just use the browser source, even when I use the existing browser source as found on the Overlay scene, everything works just fine.
I do not understand what is wrong here. Am I missing something? At first I thought it was the videos but then I found out it nothing displays in any way once I put the Overlay scene on the Main scene as a source. I feel this should work but it just completely stops functioning or functions very poorly once I use scene within scene.
I have considered making my bot create the nice ambiance and have it send everything to the websocket which I am sure would work but that would also be a major pain in the ass as I would have recreate it for every single command and that was not the point of the exercise (less work rather than more is what I am going for) so I am really hoping you guys can help me out and get this to work. I am out of my depth here and I would really appreciate your thoughts and tips.
Kind regards,
War
To describe the problem I am encountering I have 2 scenes: Main scene, this is the scene that I stream from and Overlay scene, this is the scene that contains the browser source for the OBS Websocket with some decorations around it. I have made the Overlay scene with the browser source so I can import the whole thing into other scenes and have a nice, consistent, ready-to-go package that I can just plop into a new scene and have it be visually consistent.
When I run the browser source with the Websocket page directly on my main scene everything works fine (even when I use the existing one from the Overlay scene). But when I import the Overlay scene as a source into my main scene then I will see the decorations I've made but whatever I put on the websocket page through my bot is not longer displayed or heard: MP3s and MP4s do not play, images aren't shown regardless of file type (I mostly work with PNGs but theres a few GIFs and JPGs as well), on rare occassions when the images do display then the animation scripts I use do not display, etc etc etc. I do not think it has to do with file sizes because I have been very careful with that, making sure nothing exceeds 1 MB.
Literally nothing sent to the websocket works when I import the overlay scene as a whole onto the Main scene. But when I just use the browser source, even when I use the existing browser source as found on the Overlay scene, everything works just fine.
I do not understand what is wrong here. Am I missing something? At first I thought it was the videos but then I found out it nothing displays in any way once I put the Overlay scene on the Main scene as a source. I feel this should work but it just completely stops functioning or functions very poorly once I use scene within scene.
I have considered making my bot create the nice ambiance and have it send everything to the websocket which I am sure would work but that would also be a major pain in the ass as I would have recreate it for every single command and that was not the point of the exercise (less work rather than more is what I am going for) so I am really hoping you guys can help me out and get this to work. I am out of my depth here and I would really appreciate your thoughts and tips.
Kind regards,
War