Kavex / ChilloutVR-RTSP-Stream-for-Movies

Run a RTSP Stream to stream movies to ChilloutVR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running your own RTSP server

Running a RTSP server with digital ocean server is fairly easy but you will need to have some knowledge of Putty and OBS.

These instructions can work on any docker setup but we will be using digtalocean server because they are cheap and easy to setup.

Setting up a DigitalOcean server

  1. Create an account at https://www.digitalocean.com/

  2. Create a droplet

enter image description here enter image description here

  • Under Choose a plan just choose the cheapest one. If you find yourself streaming to a lot of people then bumping up the plan can't hurt.

enter image description here

  • Choose the datecenter closest to yourself. I normally just choose San Francisco.

enter image description here

  • For authentication if you don't know what SSH Keys are then just use a password

enter image description here

  • Click create droplet and you're done creating the droplet

enter image description here

  1. Connect using Putty
  • Follow Connect using Putty and skip the SSH key section if you're using a password. Your username is root by default.
  • Click Open to connect and put your password in
  • You should now be connected to your server

Setting up RtspSimpleServer

Paste this command in to Putty to start a basic Rtsp server. You can do more secure setup if you like but you'll have to read the main page for the rtsp simple server.

docker run --rm -it -e RTSP_PROTOCOLS=tcp -p 8554:8554 -p 1935:1935 aler9/rtsp-simple-server

In OBS you will set the streaming server to custom and in the server type: rtmp://YourDigitalOceansIP with the Key being anything you want.

enter image description here

Once you start streaming your desktop then in the Video Player in ChilloutVR you can use a rtsp url which will looks something like this.

rtsp://YourDigitalOceansIP:8554/MyKey

You are not streaming your desktop, pull up whatever you would like to stream on the video player.

About

Run a RTSP Stream to stream movies to ChilloutVR