Tower Unite

Tower Unite

30 ratings
How to play your own content on media players! (OUTDATED)
By T
3
   
Award
Favorite
Favorited
Unfavorite
THIS GUIDE IS OUTDATED
As of Towers update to a new engine version, this guide does not work anymore. I may update it in the future if I find another method that works.
Have you ever wanted to play custom content on your media players?
Well now you can!

Just follow these simple annoying steps and you too can stream content you probably don't own!
Prerequisites
To follow this guide you will need:
  • A Windows PC (I only know how to do this on Windows)

  • Good internet (you will be streaming your content to everyone viewing it!)

  • VLC Media Player (can be downloaded here[www.videolan.org])

  • A video file of your choosing, converted to the WebM format (I recommend using Shutterencoder to convert files to WebM! You can find it here[www.shutterencoder.com]. Select the VP9 function to convert to WebM)

  • Ability to forward ports on your router (I cannot help you with this, it isn't hard, Google it)

  • A media player in your condo (This will NOT work on Plaza media players.)
Setting up your stream in VLC
  • Step 0:
    Forward the port 8080 TCP/UDP. Like I said, I cannot tell you how to do this so please don't ask. Google it yourself, it's a different process for every router. The forwarded port doesn't need to be 8080, but using this port will make things easier for you because it should be the port VLC automatically uses.

  • Step 1:
    Open VLC Media Player. You should see something that looks like this.

  • Step 2:
    Press Ctrl + S. This will open a tab with the heading "Open Media"

    Click the "Add..." button and select your custom content.

    Remember: it MUST be a .webm file or your stream will have issues such as extreme buffering and audio desync.

    After selecting your media, click the "Stream" button at the bottom of the window, then click next.

  • Step 3:
    Click the "New destination" drop down box and set it to "HTTP." Then click "Add."

  • Step 4:
    Type a name for your media in the "Path" text box. Do NOT remove the backslash, and end this name with ".ogv" for this example, we will use "/test.ogv" Set the port box to 8080, or whatever port you forwarded prior to following this guide if it was different. Click "Next."

  • Step 5:
    In the "Profile" drop down box, select "Video - Theora + Vorbis (OGG)" and tick the "Active Transcoding" box if it is not already checked. Click "Next."

  • Step 6:
    Simply tick the "Stream all elementary streams" box if it is not already checked, and click the "Stream" button. This will start your live stream. I would not recommend using the pause or scrubbing functions because they caused problems with the stream for me, but of course you're free to experiment.
Accessing your stream
Before we load our stream in Tower Unite, lets first test it in a normal browser to make sure it's working. If your stream is running already, make that your video is actually playing in VLC and not over already.

Getting your IP

You will need your public IP to access the stream. This can be obtained by simply Googling "My IP."

Take note of this address and open a new tab.

Stream URL

Here is an example of the format your streams URL: "XX.XX.XX.XX:8080/test.ogv"

Things to note:

  • Replace "XX.XX.XX.XX" with your own IP.

  • Replace "test.ogv" with whatever name you entered earlier, if you entered a different name.

  • Replace 8080 with the port you specified, if you used a different port.

Press enter. If all went well, you should see your stream playing in a video player!




Your video may buffer or freeze, if this happens, don't worry! This usually fixes itself after about twenty seconds. If it doesn't, try refreshing your browser or video player.
But how do I view it in tower?
Simple!

Just copy the URL you just used in your browser, and put it in a media player in your condo!

Keep in mind that your content doesn't automatically scale, so if your video is in a box like this, that's because it's a low resolution! (or some other problem I don't know about!)

If you want to save yourself the trouble of upscaling your video, just make the media player bigger.
Potential problems
  • "My stream is laggy and isn't improving even after waiting!"

    Your internet might just not be up to the task of streaming video. Sorry!

  • "My VLC keeps crashing!"

    For whatever reason, VLC crashes if you try to stream another video after already streaming once in that session. Just re-open it and try again.

  • "I'm having some other problem!"

    Well my friend, just comment on this guide or send me a friend request and I'll try to help as best I can. I can't promise I can make it work, but I'll try!
Credits
Special thanks to TheFragMan[forums.pixeltailgames.com] for his original guide on the Pixel Tail Games forums. His original guides instructions don't seem to work as well as they did in 2019, so I hope this updated guide may fill that void.