WMDreamRemote (WMDR) - Step-by-step Guide for streaming.

Important: In case you have installed a firewall on your PC which acts as VLC-server, pay attention to the firewall on that PC because it can block ports 4212 or 8085. So, I suggest you to disable the firewall first and then when everything is working you can set up your firewall.

If you have not already installed VLC on the PC which acts as VLC-server, then do it now. Make sure to install version 1.05 or earlier ones since all versions from 1.06 are not working with WMDR. VLC can easily be found by searching for it on Google. Now run VLC. Then through the various menus you select View, then select Add Interface, and finally you select Telnet interface. In this way, any PC (as long as it is not too old/slow) can become a transcoding-server. Always remember to enable the Telnet-interface of VLC when you want to use WMDR for streaming.


LocalLAN:

Being within our LocalLan, there is no need to set up portforwarding-rules in your router. 

After copying all the files in a folder of your choice on your device, launch WMDR (WMDreamRemote.exe). When WMDR starts, you will most likely receive a message saying that you are not connected. This is normal because the box-profile that I included as an example has probably different IP-addresses compared to those in your home-network. So, in the main screen, click on Preferences / Profiles. In the new form that pops up, we can choose between two types of profiles, namely (Box-)Profiles (for the parameters of Dreambox)  and Streaming-Profiles (for the parameters of VLC-server). Click on Profiles. Now you can see the profile Home loaded (loaded automatically because the flag Default is enabled). In the field below, select the type of Enigma to use (Enigma or Enigma2). Then in the IP-address field, put the IP address of your Dreambox. In the Port field, put the port you use to connect to the Dreambox. It is usually 80 but in my case it is 8888. Finally, enter the username and password. The standard is root / dreambox but it may vary depending which image you are using. Then click on Save Prof. and finally test the connection by clicking on SEL. If you do not receive any error messages, the form will close. Let's now return to the same form and now we click on "Create Bouquets for this profile." Your bouquets / channels will now be downloaded and stored on your device. When this process has finished, a message will appears that says Update Ready. Now close the form and return to the main screen and click on Bouquets / Channels. Now you should be able to see your bouquets. Select now a bouquet and you should be able to view the channels. Now we return to the main screen, we select Preferences / Profiles and this time we select Streaming  Profiles so we can set the parameters of the VCL-server.

With WMDR, I have supplied 3 different streaming-profiles, namely:
1. LocalLAN - to use within your LocalLAN (home network),
2. WLAN - to use outside your LocalLAN. For example in the office or at an Internet-point where you have a fast connection (via WIFI) to the Internet,
3. Mobile - to use outside your LocalLAN with 3G/HDSPA. 

In this case, we are using the profile LocalLAN.

Flag LocLAN: this flag must be enabled if you use WMDR in your local network otherwise it should be disabled
VLC IP (LAN): local IP address of the VLC-Server - example: 192.168.1.82
VLC IP (Ext): Being in LocalLAN, we have the same IP address as the previous field i.e 192.168.1.82
VLC Dst Port: Example: 8085 - it is the port that is used to obtain the stream from the VLC-server.
VLC Telnet Port: Example: 4212 - it is used by WMDR to send various instructions / commands to VLC-server. The port 4212 is the default of VLC
VLC Telnet PW: example: admin. WMDR will use this password to connect to the Telnet server of VLC-server. 
VLC Sleep Delay: example: 200 - normally no need to change this value.
VLC output (Sout) is the string that determines how VLC should transcode the stream. Since we are in LocalLAN, I suggest using the one supplied by me since it works very well.

If you want to make this profile your default streaming-profile, then you must enable the flag Def. Prof.

Then click on Save Save Profile and reply Yes confirming that we want to load this streaming-profile.

Now let us try streaming. The box-profile to use in this case is Home since that is the profile we have set up for LocalLAN. As to the Streaming-profile, we have just selected it, namely LocalLAN.

Let us now return to the main screen and select Bouquets / Channels. Now, we select a bouquet and then we choose a channel. Now click on the Stream-button. Probably nothing happens or you will get an error-message. Why? We must use an external player on our device for watching the stream from our Dreambox. I am using TCPMP (which is free and which you can find on XDA) but you can use Coreplayer (not free) if you prefer. You must make sure that ASX-files are opened by/associated with the program you installed (look in the programs' settings for file-association.) In TCPMP go to 

Options -> Settings (you need to scroll down to see that option) - > Click button "Select Page" - > File Associacions
Now let us try again by clicking on Stream and hopefully now TCPMP will start and let us watch the stream from our Dreambox. However, if we receive an error saying "WMDR can not connect to the telnet port ... ... ... ... ... ..", then it most likely means that we have not enabled the Telnet interface in VLC or that we have the wrong IP address of the VLC-server in the Streaming-profile we loaded.

To change a channel or a bouquet, we return to the list of bouquets / channels, then we select a new channel and then again we click on Stream-button.

That's it for LocalLAN.

Remotely (via Internet):

The procedure is similar as for LocalLAN. We just have to change some parameters but more importantly, we must set up portforwarding in your router of the ports that are used by WMDR (and VLC). In addition, we must ensure that we have a DynDNS (and that it is always synchronized) so you can reach your home-network remotely. I am not going to explain here how to create a DynDNS - however if you search Google, you'll find everything you need to create and manage a DynDNS address. Let's now look at the ports which we need to set up for portforwarding:

1) The port of the Dreambox (usually 80 or the port you have set in the settings of your Dreambox) must be forwarded to the IP address of your Dreambox.
2) Port 4212 should be forwarded to the IP address of the PC acting as VLC-server
3) Port 8085 should be forwarded to the IP address of the PC acting as VLC-server

Launch WMDR and after seeing the usual message that WMDR cannot connect, you then go to the form where you set the parameters of the Dreambox (box profile). Select the profile "Away" which I supplied as an example. Set Enigma-version, port, username and password according to your needs. In the IP-address field, put your DynDNS address (for example: someone.dynalias.org). Then enable the Default-flag. Then save (Save Prof). Then we click SEL. If all goes well, WMDR will close the form otherwise we will be receiving error-messages that surely indicate that we are not able to connect to our Dreambox at home. If this is the case, then check the parameters again, check that your DynDNS-address is synchronized and so on in order to resolve the problem. Try again and if we no longer receive any errors, then in the main-form of WMDR, we will be able to see which channel is selected on our Dreambox at home (Current Channel: ... ... ... ....). Now we return to the box-profile settings (Away should be selected) and now we can import the bouquets / channels (Create Bouquets for this profile). The box-profile is now working.

Now, let us have a look at the Streaming-profiles. I am now presuming that we are connected to the Internet by WIFI. Select the profile "WLAN.str". We start by enabling the flag "Def. Prof" and then we make sure that the flag Loc. LAN is NOT enabled. The parameters to fill in are almost identical to the streaming-profile that we used for LocalLAN.

VLC IP (LAN): local IP address of the VLC-Server at home - for example: 192.168.1.82
VLC IP (Ext): Since we are now outside our LocalLAN, we insert here our DynDNS address  (for example: someone.dynalias.org)
VLC Dst Port: Example: 8085 - it is the port that is used to obtain the stream from the VLC-server.
VLC Telnet Port: Example: 4212 - it is used by WMDR to send various instructions / commands to the VLC-server. The port 4212 is the default-port of VLC
VLC Telnet PW: example: admin. WMDR will use this password to connect to the Telnet server of the VLC-server. Let us leave this value the way it is.
VLC Sleep Delay: example: 200 - normally no need to change this value.
VLC Output (Sout) is the string that determines how VLC will transcode the stream. The sout in this profile is different from the one supplied with the LocalLAN-profile . Here we are using another videocodec (H264) that allows us to use a lower bitrate and which is better suited in respect to our upload speed of our ADSL line at home. Start by using the sout I have supplied. If you have problems with watching the stream, try to lower the bitrate. If you now have a good working stream, then try to increase the bitrate until you find a value that is optimal.

Now click on Save Profile and answer Yes.

Note: If you are using 3G/HDSPA/Mobile, you can select the profile named "Mobile.str" instead of "WLAN.str". The instructions are the same as above but the sout is more suitable for use with 3G. If you have problems, follow the same procedure as above until you find a bitrate that works.

As in the procedure for LocalLAN, select a channel and then click on Stream. Now if:

-we remembered to execute VLC (on our VLC-server at home) and at the same time remembered to enable the Telnet interface,
-portforwarding has been set up correctly,
-we associated the ASX-extension with TCPMP/Coreplayer (see instructions under the procedure for LocalLAN),

then after 5-15 seconds we should be able to watch our Dreambox remotely. If you want to improve the image, you have to experiment with the bitrate-value.

Please note that if you are in the office, you cannot use the box-profile "Home" together with streaming-profile "WLAN". You must use the box-profile "Away".

I hope this guide will help you to get WMDR working.

Regards,
moster67 aka tilleke

