Dynamic Overlay for multiple streams

I had created dynamic overlay using this article https://www.wowza.com/docs/how-to-add-graphic-overlays-to-live-streams-with-wowza-transcoder

My Websocket values are getting updated to correctly to the overlay.

This is working fine for Single Stream.

When multiple stream comes in, then the Overlay is not showing for the new incoming streams, only for the first stream the overlay is displaying.

I would like to know for every incoming streams how to show the overlay images and websocket values related to the streams separately.

I see you are discussing this with our engineers in a support ticket and will follow the progress there. Please feel free to come back and update the community on what the resolution was for your code. Thank you.