Project

General

Profile

TvHeadEnd Streaming Live Tv to internet

Added by Arshvinder Singh Sehmi almost 11 years ago

Is there any option or setting in TvHeadEnd to stream live tv to internet, so that I can watch live tv at my tablet while in office by connecting it with home pc (having tvheadend installed & running).

Regards,
ErSehmi


Replies (5)

RE: TvHeadEnd Streaming Live Tv to internet - Added by Prof Yaffle almost 11 years ago

It's a network issue - tvheadend doesn't push, the client pulls, so the client (your tablet) needs a route through to the server rather than the server needing a route the other way.

That means VPNs, port forwarding, and so on, just as if you were trying to get through to any other device on your home network.

RE: TvHeadEnd Streaming Live Tv to internet - Added by Arshvinder Singh Sehmi almost 11 years ago

Can we device any such way to achieve that?

Please suggest.

RE: TvHeadEnd Streaming Live Tv to internet - Added by Prof Yaffle almost 11 years ago

Sorry, no - it depends too much on what you already have, how you connect to the Internet at home, etc.

you probably want to look into setting up a VPN server - many home routers now support this, but you're likely to also need DDNS or a static IP address from your ISP. I'd start with their forums or the forums of the manufacturer of whatever router you already have, and take it from there.

RE: TvHeadEnd Streaming Live Tv to internet - Added by Gary Brown almost 11 years ago

there are two ways to do this both with easy steps to follow do this as i already do.

option 1.
Direct web access to server (not recommended).

for this way you need to have access to your router control panel,

1. first make sure you password protect tvheadend
2. access your router settings and port forward both 9981 and 9982 (default ports for tvheadend) to the pc's ip address.

option 2.
using a ssh tunnel (my preferred way).
1.on your tvheadend system make sure an ssh server is installed (usually on by default) if not install it (ubuntu use command "sudo apt-get install openssh")
2.forward port to the ssh server on your router, the ssh server is on 22 on the machine by default so either forward port 22 or as i do forward a random port higher in the number list to port 22 on your tvheadend.
3. on your connecting computer using ssh software login to your ssh using port forwards.
  • On Linux in command line use ssh -L 9981 localhost:9981 -L 9982 localhost:9982 [username]@[ipaddress of home]
  • On Windows i recommend either putty or bitvise ssh client
  • On Android I reccomend ConnectBot
  • I cannot advise on IOS or MAC but if there is a ssh client software with port forwarding then youll be able to setup.

for either option your ip address needs to be remembered (if setup to be static by your provider) or sign up to a service that gives you a web address to use instead like http://dyn.com/dns/ (there may be free alternatives out there)

RE: TvHeadEnd Streaming Live Tv to internet - Added by Nick Sillito almost 9 years ago

Thanks for a really helpful article

Just for completeness, the command on my mac (OSX 10.11) is slightly different:

ssh -L 9981:localhost:9981 -L 9982:localhost:9982 [username]@[ipaddress of home]

    (1-5/5)