- How to use JTVLAN to broadcast live TV programs to several computers?
- How can I uninstall JTVLANServer from DVB WebScheduler?
You can configure JTVLAN to broadcast live TV programs to several computers on your network. You need a JTVLANServer, a single instance of JTVLANClient running on a computer, VideoLAN installed on every computer that needs to view the TV.
In such a configuration the single JTVLANClient acts as a "director" of the show since it can start/stop the stream, it can change the channels, it can set transcoding options. Each of the other computers will receive passively what the director is streaming.
The best way to achieve this result is to configure JTVLANServer to stream using the UDP protocol to a multicast address. You can do it using the JTVLANServer configuration utility:
Modify the VLC sout value and specify udp as access and a multicast address:port (224.0.0.1:7777 in the example) as url. Apply the changes and restart the WebScheduler service.
Then you have to configure the JTVLANClient to receive that UDP stream. You can do that using the client configuration utility:
You will have to change the VLC MLR value according to what you have configured on the server. Remember the '@' character after the udp:// part!
Now, whenever the client will play a channel, the same channel is broadcasted to the multicast address:port. Each other computer on the network can access the same stream directly with VLC just by opening the udp multicast address 224.0.0.1, port 7777 (or the one configured on the server), as in this screenshot:
UDP streaming has the advantage that all the VLC clients will remain always "tuned" on the address and will display data when it will be available. In particular, even when the server will interrupt streaming (e.g. during channel change or file splitting) the VLC clients will never stop playing, they will just freeze for a while waiting for new data to arrive and start playing again when the stream will be available (HTTP streaming behaves differently since it interrupts when the server stops sending data, and the user has to press the play button again to restart playing the stream)
Go to the DVB WebScheduler installation folder and open the file named wrapper.conf with a text editor. Go to the end of the file until you find these lines:
############################ # JTVLAN classpath entries # ############################ wrapper.java.classpath.3=. wrapper.java.classpath.4=jtvlanserver.jar
Those lines tell WebScheduler to load JTVLANServer when it is needed. To be sure to uninstall JTVLANServer just delete those lines from the file, save it and restart the WebScheduler service.
To install JTVLANServer again just run the jtvlansetup.exe utility.
