NVIDIA-Omniverse / web-viewer-sample

This sample demonstrates how a front-end client can present a streamed Omniverse Kit application and how to send messages between the two apps.
Other
31 stars 13 forks source link

How to access multiple users to web viewer #5

Open Telos0 opened 1 month ago

Telos0 commented 1 month ago

From what I understand, the kit application operates like a backend and the web-viewer operates as a frontend to stream USD. However, when I run the example, it doesn't seem to work in multiple browsers(multiple users). When i open two browers,

{"sessionId":"PassThruSessionId","subSessionId":"b236e812-b894-4dd9-b92f-251ff46a1582","progressState":"StartingStreamer","queuePosition":0,"eta":0, "ads":[],"state":"StartingStreamer"}@@

{"sessionId":"PassThruSessionId","subSessionId":"bbc8a7a2-8cac-4f2f-b405-103a156c9173","progressState":"StartingStreamer","queuePosition":0,"eta":0,"ads":[ ],"state":"StartingStreamer"}@@

I receive a different sub-session ID like the following, but I can't find the part in the code that manages sessions.

How do I broadcast my stream?

Thx.