AndroidDreamer (ANDR) - now with streaming in Local LAN and remotely over 3G/HDSPA/WIFI
UPDATE: 02/01/2011 - From now on, all new versions are being distributed through Android Market.
Current Beta 0.49 of 07/01/2011 - read change-log below for recent changes of beta-versions
This beta release supports streaming (in Local LAN and remotely over 3G/HDSPA/WIFI) both for Enigma and Enigma2. Remember that AndroidDreamer is very simple in this moment and does not yet support other features such as EPG, Remote Control, Timer Management etc. It was written quickly to test streaming.
For streaming remotely over 3G/HDSPA/WIFI, please read carefully the attached PDF-guide which will explain how to set up a VPN-connection. The advantage of a VPN-connection is that you only need to open one port in your router (instead of 3) and that it is secured by a password. The use of a VPN also resolves (in most cases) the problems related to using RTPS with routers/firewall which very often does not work with common routers unless very advanced.
You can choose between vPlayer or VLC. The advantage of vPlayer, other than excellent quality, is that there is no need for a separate computer with VLC working as a transcoding-server. However, vPlayer cannot be installed on all devices and in this case VLC is the only option. This is also true for remote-streaming (3G).
Note: this is a BETA and many errors may occur. Better error-handling will be added gradually while the application gets developed further.
Instructions:
(for HTC HD2-users running Android-builds, see note at the buttom of this file)
1) When the application starts the first time, you are prompted to fill in your parameters. I have filled in some dummy-data. Change them according to your parameters. Click thereafter on save. If you are not planning to use VLC then you can leave the parameters regarding VLC as they are. Note: the parameters are the same when using the VPN-connection and thus there is no need for dyndns-addresses in this screen - just use your local IP-addresses.
2) In main-screen, click on Type of Streaming. You can select between vPlayer or VLC (both for LAN and 3g). There is also a special option for VLC (remote) available but it has been disabled in this release. If you decide to use vPlayer make sure to download from the market the latest version before trying to stream.
3a) If you selected vPlayer, then click on View Bouquets, select a channel and confirm streaming when prompted. At this point, vPlayer should open up automatically with streaming.
3b) If you use VLC, then VLC must be installed on a PC that will act as a VLC-server (transcoding-server). Follow these instructions for VLC:
a) Install VLC (I have tested with VLC 1.05 and 1.15) on a computer. I have tested only Windows but it might work on Linux and MAC as well.
b) Start VLC, go to View -> Add Interface -> Web Interface
c) The following might or might not be necessary.:
- If you get connections-errors, then in the videolan-folder (C:\Program Files\VideoLAN\VLC\http) in your computer, open the file ".hosts" in a text editor.Remove the hash sign (#) in front of the private addresses of your local network (usually "192.168.0.0/16" or "192.168.1.0/16"). You can also remove the hash sign in front of 0.0.0.0/0. Save the file.
d) if you are going to stream remotely, then click on VPN Settings and connect to your home-network - see the PDF-guide for instructions to set up VPN. If you are going to stream within your LAN, then there is no need to click on VPN Settings and you can go directly to next step.
e) click on View Bouquets
f) select Bouquet and channel
g) click on a channel and you will get a message asking if you want to stream. Say yes
h) select SOUT (there are several options - for use within your LAN, try using MP4V, H264(vb512) or H264(vb256). If you are streaming remotely, then you should use the souts having 3G in their name such as H264(3Gvb192). The vb in the name indicates the bitrate being used. Higher bitrate requires a faster connection. If you have a fast upload at home and a fast connection on your device, you can also try the other souts (without 3G in their names).
i) if everything works, you should see streaming
Please note that when exiting AndroidDreamer, using the regular-back button on your Android-device, VLC will stop the stream. This is important, especially for Enigma2 where otherwise channel-change can be blocked (normal behaviour). If you want, you can use the kill VLC/Stream button as well.
Please report if AndroidDreamer works for you, indicating which Android-device and which Dreambox you are using.
Note for HTC HD2-users: If you are running an Android-build (like I do), please note that settings-parameters might be empty the first time you run ANDR. Fill in your parameters and then save your settings. What regards the VLC-parameters, the DST-port should be 5554 and HTTP-port should be 8080.
Finally I want to thank my beta-testers Didier_74, Daniele, Macchese, Vippen and Albertazzi65 for their invaluable help in testing AndroidDreamer.
Good luck and Happy Streaming!
rgds,
tilleke
Change-log:
-ANDR beta 0.49 (07/01/2011) - ADDED support for Https (SSL), improved error-handling, some code-changes
-ANDR beta 0.47 (05/01/2011) - FIXED a bug, only in VLC-mode, which under certain conditions could launch the media-player before the actual streaming had started resulting in no media being showed.
-ANDR beta 0.45 (02/01/2011) - first release on Android Market
Bookmarks