Skip to content

Cast the game

jwallet edited this page Jul 4, 2021 · 32 revisions

NHLGames doesn't support casting, but here are some ways to do it. Follow these steps if you want to play the game on your TV.

If you stream a live game and it lags, use the Rewind feature to set your stream X minutes behind Live and get a nice buffer.

Using VLC and your phone to cast

You can host the stream on your PC by using VLC player output to let any other devices connect to it from your local network, having a pool party maybe? want your chromecast to stream it?
If you open external port on your router you may also stream it over the Internet, having to wait 2hrs at the hospital?

Open NHLGames, go to Settings,

  • Select VLC as your default player
  • Enable Player args and type --sout=#http{mux=ts,dst=:8080/stream}
  • Click on a stream, VLC should open after accepting new configs to your firewall.
  • Visit localhost:8080/stream, it should open a stream popup if you set it right, if it does you can move to the next steps. Otherwise, you may need to open the port on your firewall and your router

Go on your phone and download/use a player such as VLC or MPV to open the link YOUR_IP:8080/stream replace YOUR_IP by your internal (easier and only works at home) or external IP (public access for anyone). Use this online doc to find your public or local IP or follow the checklist below:

  • To get your internal IP (local/home/LAN):
    • Click on the Network icon in the taskbar
    • Select the network you are connected on
    • It opens the network page, click on the network name again, the first button under Ethernet title.
    • Scroll down to Properties: IPv4 address
    • Use the IPv4 address to connect with your phone to the stream, like shown here, on the right
    • You may need to open your port 8080 on your PC firewall to let other local devices connect to your PC.
  • To find your external IP (internet/public/WAN):
    • google my ip
    • Open your port 8080 on your PC firewall to let your router connect other devices from internet or local to your PC
    • Forward the same port on your router from Internet to your PC IP:PORT, google YOUR_ROUTER_MODEL port forwarding
    • Warning: By using your external IP, you let anyone connect to your home network so be careful.

image network

Using VLC to cast

image

Using Google Chrome to cast

image

  1. Select a pc monitor you want to share. Make sure audio share is checked.
  1. Use NHLGames to get a stream, once the game plays, move the media player window to the right monitor and enjoy the show.