How does this work?
Look at the image below. It gives a small impression how everything works. It is based on the original version of M4RTiN for the enigma1 version. But his version gave me a bunch of errors. And the code was badly written. Therefore a new version based om the same principal.
The Dreambox ReStream software is running like a PHP application. It loads the channel data from the enigma based encoder and presents it in a nice web interface. When you zap to a channel, VLC will transcode the stream to the web interface and you can watch. The code will automatically detect mobile devices.