Web Viewer Streaming does not begin

Hello,

I am trying to follow the Quick Start guide on the Web Viewer Sample (GitHub - 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.)
On the last step, when I open the browser, it says “Waiting for stream to begin” and it never starts.

Is there something that I need to configure aside from what’s written on the guide?

Ok and you have the kit app running as well in the background? It should be running and streaming to web browser.

This application is designed to be used with the USD Viewer Sample in GitHub - NVIDIA-Omniverse/kit-app-template: Omniverse Kit App Template.

@yuri.kim are you using the USD Viewer Kit app created from a Template in kit-app-template repo; and if so, are you launching the kit file that has “streaming” in its name?

1 Like

From the screenshot, maybe you’re trying to use Firefox as the browser? My experience is that the example doesn’t work at all with Firefox, whereas I get farther if I use Chromium as the instructions indicate. (Though I have my own issues past that, which I just posted in a separate thread…)

Hi @mkarlsson and NVIDIA team!

I have a related issue. I am able to startup the USD Viewer Kit streaming app and also the web viewer sample and the streaming works. Also across machines within the same local network.
(BTW, only 106.3 builds OK, all other versions fail to build. and 106.3 only builds if I clone and build ‘main’ before (which also fails) and then switch to 106.3. It’s super weird.)

But when I try to attach another browser to :5173 it just tells me “waiting for stream to begin”.
How can I stream to multiple machines? It looks like only the first browser grabs the stream.

What might be related is webRTC. I am not sure it’s something included by default when you build the basic example?
The documentation states: “You will want to integrate the omniverse-webrtc-streaming-library. The library provides the AppStreamer class which enables both the streaming and messaging capabilities.” but it doesn’t say how.

https://docs.omniverse.nvidia.com/embedded-web-viewer/latest/create/overview.html

I tried to configure stream.config.json but I couldn’t find any useful documentation.

Thanks for your help.

I just found documentation Run the Solution — Guide: Embedded Web Viewer
stating “This example provides a peer-to-peer streaming solution. One USD Viewer can be streamed to one client. If you open many browser tabs, then only one can use the streamed application at any given time.”

So, how would I get streaming to more than one client?

@robert.karban Unfortunately you cannot get streaming to more than one client with our streaming technology. If you require WIDE streaming to multiple users, that would be done through our GDN network, which is a paid system. Or you can simply use any other web broadcasting tool, like Go to Meeting etc.

Graphics Delivery Network (GDN) for Interactive 3D Experiences | NVIDIA

Hi @Richard3D
In the webRTC documentation
https://docs.omniverse.nvidia.com/extensions/latest/ext_livestream/webrtc.html
is stated:
" * For a best user experience, it is recommended that only a single User at a time be provided with mouse or keyboard control while others remain in spectator mode."

That sounds like webRTC supports streaming to multiple clients but only one can be on control?

Thanks,
Robert

You know what, you are right. The docs do say that, and I am sadly going to admit that this document is actually wrong. WebRTC only supports one client at a time. So I apologize that this document page has made this false claim. I have immediately filed a ticket to get this edited out. Thanks for pointing this error out to me.