I want to use AWS IVS (with the Web Broadcast SDK) to send a user's webcam and screen live streams to two separate IVS channels in a React webapp. I can send each one separately, or both in separate tabs, but when I try to send both from the same tab / instance of the webapp, it sends either the webcam or the screen to both channels, essentially overwriting the first one sent when the second is sent.
I have creating separate objects for each stream, but the IVSBroadcastClient object isn't instantiated so I can't figure out how I can do this.