Forums » Tutorial and setups »
Centralization of services from several sources
Added by Robert Frischer about 4 years ago
Hi.
I am trying to solve problem with several RPIs with TVhat. Mygoal is to centralize all MUX/services/TVchannels from several TVHeadend servers, as presented on picture. The reason why is because the single RPI with TVhat cannot stream two independent MUX in same time. So I built several TVHeadend servers and I need to centralize all channels in one of them.
On main TVHeadend it is need to create "IPTV Automatic netowork" with URL: http://user:pass@RPI_IP:9981/playlist/channels, it could see MUXes (http://RPI_IP:9981/stream/channelid/1741069550?profile=pass), but I need to manualy insert user:pass into every MUX. for a some period of time muxes diappeeared and i have to scan/insert user:pass...
What i am doing wrong? Thanks for reply.
TVHeadend_resize.png (258 KB) TVHeadend_resize.png | Target idea | ||
Networks_resize.PNG (221 KB) Networks_resize.PNG | Networks | ||
MUXes_resize.PNG (502 KB) MUXes_resize.PNG | MUXes |
Replies (2)
RE: Centralization of services from several sources - Added by saen acro about 4 years ago
Option 1
Make * user with * password allowing streaming to local IP subnet (192.168.1.0/24).
This will bypass need of password's.
Option 2
Set Sat>IP servers on each device and use them on main device.
Password protection on main device can be simplified by using persistent authentication in password.
http://user:pass@rpi_ip:9981/playlist/auth/channels
RE: Centralization of services from several sources - Added by clint jones about 4 years ago
unorthodox approach
tap the adapter directly
Step 1
(you can do this with a script in bash) on machine 10,11,12
cvlc -vvv atsc://frequency=514000 :dvb-adapter=0 :dvb-srate=0 :dvb-modulation=8VSB --programs=6 --sout '#standard{access=http,mux=ts,dst=192.168.1.11:32000}'
do this on the three machines without tvheadend (or leave tvheadend installed and disable the adapter on the adapter page)
Step 2
then on the main machine make an IPTV mux in the running tvheadend with :
http://192.168.1.10:32000 as the address for the mux
http://192.168.1.11:32000
http://192.168.1.12:32000
do step 1 on the three "feeders" with different muxes make different channels on the main machine
not going to work if you have 120 muxes to move around but 2 or 3 will be nice and solid
Note the VLC command is for atsc so it will have to be adjusted for whichever your using
good luck clint