How to use SSR (server-side rendering) to render the model?

Currently, I have configured rendererType in the WebViewerConfig class. Is there anything else that needs to be configured in the client’s JS code?

1 Like

Your webviewer configuration should look something like this for local SSR:

“containerId”: “viewerContainer”,
“endpointUri”: “ws://localhost:11180?renderingLocation=ssr”,
“model”: “microengine”,
“rendererType”: Communicator.RendererType.Server,
“streamingMode”: Communicator.StreamingMode.Interactive

Obviously, the streaming server must be running and the hardware you are running the streaming server on needs to support hardware accelerated rendering.

1 Like