How to collaborate in real time between server and clients? If I want to use omniverse Kit to reach that, what api should I use?
@jxn I am not sure what you want to collaborate between your client and server? Is that USD or other formats? For USD, it’s supported in Kit already if you make edits to files inside Omniverse. In order to do collaboration, you need to enable your stage into live mode like the following if it’s stage opened in your editor:
usd_context = omni.usd.get_context()
There are other APIs that you can use to control single USD file you want to collaborate, you can run
help(usd_context) to check if you need finer support.
In this way, all your edits will be broadcasted into server and if other clients enable the live mode also, they will get the updates.
If you want to collaborate with other file formats, you can take a look APIs from namespace
omni.client, which includes all APIs that can both interact with local file system or resources inside Omniverse.
Let me know if you have any other questions.