How to handle multiple senders

Hi! I’m writing a program that will need to create multiple Spout senders. What is the proper way to handle this?

I’ve seen creating multiple SpoutSender objects, as well as creating one SpoutSender and then calling CreateSender. When would I do one vs the other?

Hi @andyfilms

yes if you are using the Spout SDK functions, you should create a separate object for each sender.

Then each object has it’s own environment and simple things like width and height remain separated. More importantly the shared textures are different.