Setting up Multiple Pixel Streams in Reality Nodegraph

  • Launch the project and open Setup tab on the Reality Control application to open the rgraph configuration area. PIXEL STREAM

  • Add a PIXEL STREAM node. 

In this example, let's add two PIXEL STREAM nodes.  PIXEL STREAM_0 for Program out and PIXEL STREAM_1 for Multiviewer out.

  • Connect MIXER DEFAULT node's PROGRAM output pin to INPUT pin of PIXEL STREAM_0 node.

 OUTPUT pin from any node which can render video can be connected to INPUT pin of PIXEL STREAM node.

  • Now connect MIXER DEFAULT node's MULTIVIEWER output pin > INPUT pin of PIXEL STREAM_1 node.

  • Select PIXEL STREAM_0 node and set HTTP IP and Ports in the Properties section.

PIXELSTREAM_0

HTTP IP

Reality Engine IP

HTTPPort

80 (or any available port)

UE IP

Reality Engine IP

UE Port

8124

Now select PIXEL STREAM_1 node and set HTTP IP and Ports in the Properties section.

PIXEL STREAM_1

HTTP IP

Reality Engine IP

HTTPPort

81 (or any available port)

UE IP

Reality Engine IP

UE Port

8125

For every other PIXEL STREAM node, available HTTP and UE Port numbers must be unique, e.g. 81, 82...  and 8124, 8125... respectively, HTTP Port must be entered in the web browser URL that is explained below in this section.

  • On the nodes, you will see the status as "Server Stopped". 

 

This means that these nodes are not streaming any frame to the web browser. 

  • To start streaming, select the PIXEL STREAM nodes, go to Functions section and click on START execute button. Do this for every PIXEL STREAM node.

  • Now you should see the status as “Server Running” on the PIXEL STREAM nodes,

 

This means that these nodes are now streaming frames to the web browser. 

Connect the OUTPUT pin (from the node to be streamed) > INPUT pin of PIXEL STREAM node as shown below:

Viewing Multiple Pixel Streams on Web Browser

Multiple outputs from Reality Engine can be easily streamed to multiple devices using a web browser. Pixel streaming is not restricted to only one output from Reality, but rather multiple outputs can be streamed based on the configuration done in the rgraph. Let's see how to do this.

  • Open web browser on the device(s) where you want Reality's Program output to be streamed and enter the Reality Engine IP in the URL and press Enter.

  • Type in the URL: 192.168.20.100:80 (This will stream Program output from PIXEL STREAM_0 node as it is configured on HTTP port #80)

In this example, the Reality Engine IP is 192.168.20.100 and port is 80

  • Open another web browser on the device(s) where you want Reality's Multiviewer output to be streamed and enter the Reality Engine IP in the URL and press Enter.

  • Type in the URL: 192.168.20.100:81 (This will stream Multiviewer output from PIXEL STREAM_1 node as it is configured on HTTP port #81)

In this example, the Reality Engine IP is 192.168.20.100 and port is 81

  • You will see black screen in the browser, simply left mouse click anywhere inside the black region to activate video stream.

  • You will see final streaming video in the web browser.

Reality Program output from PIXEL STREAM_0 node.

Reality Multiviewer output from PIXEL STREAM_0 node.

To Stop streaming, select PIXEL STREAM node, go to Functions section and click on STOP execute button.

  • On the PIXEL STREAM nodes, you will see the status as “Server Stopped”. 

 

You can click on START Execute button to start streaming again.