> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dwe.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Streaming with dweOS

> This guide is to help you setup streaming on dweOS

<Tip>
  exploreHD cameras feature hardware [H.264
  compression](https://youtu.be/qbGQBT2Vwvc?si=CUPvp6QpM2MiYpJz\&t=164), which
  improves performance for multiple camera streams.
</Tip>

<Steps>
  <Step title="Open dweOS in your browser">
    <Note>
      It may take a few minutes for the first boot if installed via image.
    </Note>

    <Tabs>
      <Tab title="Installed from image">
        <Card>
          Open dweOS at the following URL:

          ```
          http://dweos.local
          ```

          <Note>
            Versions of dweOS 2 prior to v0.4.0-beta (11/1/2024) are accessible at:

            ```
            http://dweos.local:5000
            ```
          </Note>
        </Card>
      </Tab>

      <Tab title="Installed from script">
        <Card>
          Open dweOS with: `http://IP_ADDRESS_OF_DEVICE`
        </Card>
      </Tab>
    </Tabs>
  </Step>

  <Step title="Connect a DWE.ai camera to your subsea computer">
    <img src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/dwe-os/pages/images/dwe-os-2-cameras.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=6a5855a380fec4656a4845f67a15e482" alt="cameras" width="3839" height="2030" data-path="dwe-os/pages/images/dwe-os-2-cameras.png" />
  </Step>

  <Step title="Enable the stream by selecting the stream switch shown below">
    <img src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/dwe-os/pages/images/dwe-os-2-stream.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=42f90e7c32e35f1a4793e4bcc6610662" alt="stream" width="1220" height="1413" data-path="dwe-os/pages/images/dwe-os-2-stream.png" /> After enabling a
    stream, there is some key information shown:

    1. Resolution, FPS, and Format
    2. Stream Endpoints (RTP)
    3. IP Address & Port for new endpoint
    4. Camera Controls

    <Tip>
      **You will not be able to view the stream unless a stream endpoint has been added.**
      Each endpoint describes where the stream will be sent.
      You are able to stream a single camera to multiple endpoints if desired.
    </Tip>
  </Step>

  <Step title="Add a stream endpoint">
    <Tip>
      By default, the IP Address will default to the device currently connected to the subsea computer.
      This behavior can be changed in [preferences](/dwe-os/pages/preferences).
    </Tip>

    Set the IP Address and Port and click the Add button shown below.

    <img src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/dwe-os/pages/images/add-endpoint.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=9126c381f75f4bc2b72cea006024ecb8" alt="add endpoint" width="1122" height="174" data-path="dwe-os/pages/images/add-endpoint.png" />

    After adding, the endpoints list should look like the following:

    <img src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/dwe-os/pages/images/endpoint-added.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=83b03da1abd8f8ff9b4fd83a19455d5a" alt="endpoint added" width="1137" height="390" data-path="dwe-os/pages/images/endpoint-added.png" />

    <Tip>
      The stream will automatically restart when modified.
    </Tip>

    <Note>
      Remember, the endpoints list is what shows the actual list of endpoints. The IP Address and Port input menu only specify what endpoint will be added next, should the Add button be pressed. In the example above, the port being streamed to is `5600`, despite the "Add Endpoint" menu showing `5601`.
    </Note>
  </Step>

  <Step title="Install Discovery for Desktop">
    <Card title="Download Discovery" icon="video" href="https://dwe.ai/discovery">
      Click here to download Discovery for Desktop on your Laptop/PC.
    </Card>

    After download is complete, enter the IP address (stream endpoint IP) and port of the streams you would like to receive.
  </Step>

  <Step title="Success!">
    <Frame>
      <img width="400px" src="https://dwe.ai/cdn/shop/files/02-MacBook-Pro-16-Mockups.jpg" />
    </Frame>

    There you go! You should have your video streams showing up from your Raspberry Pi or subsea computer.

    <Card title="How to use Discovery" icon="arrow-pointer" href="/discovery">
      Learn the user interface in just a couple of minutes
    </Card>
  </Step>
</Steps>

<Note>
  dweOS does not support RTSP (Real-Time Streaming Protocol) Streaming. We use a more direct form of streaming called RTP (Real-time Transport Protocol).

  RTSP acts as the "remote control" to set up the session (which often includes extra bloat and latency), while RTP handles the swift delivery of media packets, over UDP for minimum latency.
</Note>
