Skip to content

Commit

Permalink
Document process for sharing screen with WebRTC
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Oct 20, 2023
1 parent dc90a51 commit fb8ea96
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,18 @@ Utimately, we will want to automate this setup as much as possible so the enviro

## Current steps for Running a WebRTC app and sharing an application window

1. Make sure nothings running
2. Run `run.sh`` for vis system to run config script and docker-compose
* For local/develop versions, use locally built images (the run.sh should cover the config for this). Images must be named:
* ove-apps:9.9.9
* ove-ove:9.9.9
* ove-ui:9.9.9
* Check get_ip_address is correct
* Check ip address from configure.py is running OVE
3. Go to OVE Core at http://localhost:8080 <!-- markdownlint-disable-line MD034 -->
4. Select "Launch new OVE Application instances"
5. Select WebRTC application, fill in settings and launch instance
6. Start call button on controller and get session ID
* Note: closing controller ends the session
7. Go to openvidu ip address and manually trust website (OPENVIDU_HOST in the docker-compose.yml)
8. Log in with username: admin, password: (OPENVIDU_SECRET from docker-compose.yml)
9. Enter session ID (from controller window) as room name and join the call
10. Share a window and check it can be viewed from other windows
1. Make sure nothing's running
2. Run `bash run_develop.sh` for vis system to run config script and `docker-compose.yml`
* For production, use `run.sh`
3. Go to OVE Core at the IP address defined in the `API_URL` environment variable you will now find in `docker-compose.yml`
4. Go to OpenVidu IP address and manually trust website (OPENVIDU_HOST in the `docker-compose.yml`)
5. Log in with username: admin, password: (OPENVIDU_SECRET from docker-compose.yml)
6. Open the View - link under Space Layouts, will be something like `IP`/view.html?oveViewId=PC01-Top-0
7. Open the Controller - link is ID Number under sections
8. Start the call from the Controller - will generate and display a Session ID
9. Copy the Session ID into the OpenVidu textbox to join the call (there should be three users connected to the call)
10. Share the application (NMX) window into the video call
11. Go to the Controller and select the desired screen to share. It should have a yellow box around it once selected.
12. Confirm the view is displaying the screen.

**Note:** Only one screen can be shared from one browser, so multiple screens will require multiple computers/browsers/incognito windows etc.

0 comments on commit fb8ea96

Please sign in to comment.