5,599,478 Members 39,810 Now Online
XDA Developers Android and Mobile Development Forum

[APP]AndroidDreamer - Dreambox streaming in LAN and 3G/remotely (for E1 and E2)

Tip us?
 
tilleke
Old
(Last edited by tilleke; 31st March 2012 at 11:04 PM.) Reason: new beta now available from Android Market
#1  
Recognized Developer - OP
Thanks Meter 66
Posts: 600
Join Date: May 2008
Smile [APP]AndroidDreamer - Dreambox streaming in LAN and 3G/remotely (for E1 and E2)

AndroidDreamer (ANDR) - now with streaming in Local LAN and remotely over 3G/HDSPA/WIFI

UPDATE: 02/01/2011
From now on new releases will be published on Google Play (Android Market). YOu can find it here:
https://play.google.com/store/apps/d...AndroidDreamer


-Current beta is 0.66 (March 31, 2012) - read change-log below for recent changes of beta-versions

After publishing my application WMDreamRemote, here on XDA, for Windows Mobile (an application to control and watch remotely in streaming your Dreambox, a satellite receiver - see my signature), I received many requests for a similar application for Android. I said I would do it if I could implement streaming. I finally found some time and wrote quickly a beta-release of AndroidDreamer which permits streaming both in LAN and remotely over 3G.

AndroidDreamer can be downloaded from Android Market.

Here are some details as to the application. Updated instructions are attached.:

AndroidDreamer is an application for Dreambox-owners (or any Enigma1- or Enigma2-based satellite-receiver) which, eventually, will enable you to completely control your Dreambox remotely and to watch TV and recordings via streaming in LAN and over 3G/HDSPA/WIFI.

However, AndroidDreamer in this moment, is very simple and basic since it is in an early stage of development and currently it does not yet support features such as EPG, Remote Control, Timer Management etc.

Mainly, it was written quickly to test streaming and this beta release supports indeed streaming (in Local LAN and remotely over 3G/HDSPA/WIFI) both for Enigma and Enigma2. Also vPlayer is supported as media-player.

However, please note this is still a BETA and errors may occur. Better error-handling will be added gradually while the application gets developed further. Since the streaming-part works well, I decided to make it available on the Android Market.

Note: What regards streaming over 3G/HDSPA, you should be aware of the fact that watching a stream from your Dreambox over 3G will consume a lot of data-traffic so you should have a contract with your mobile-operator which permits you unlimited data or at least a lot of data for a fixed price. However, if you are using AndroidDreamer for streaming within your Local LAN (using WIFI), then of course you will not consume any data-traffic on your mobile network.

Read carefully the instructions, especially what regards setting up 3G-streaming (VPN- and HTTP-modes). The instructions can be read by clicking on your Menu-button or downloaded from this post.

Important Note:
For those using VLC (for instance for 3G-streaming), please note that from version 2.0.0 (and later) of VLC, there seems to be a problem with the way ANDR comunicates with VLC. Please install an earlier version of VLC. You can find previous versions here: http://download.videolan.org/pub/videolan/vlc/. I suggest version 1.0.5. I will verify the problem with VLC 2.0.0 and later versions and fix it for next release.

If you have any questions, please post your questions here in this thread. Please also do not hesitate to post feedback, bug-reports, suggestions and things you would like to see implemented in a future release.

Finally I want to thank my beta-testers Didier_74, Arshavir, Daniele, Macchese, Vippen, Albertazzi65 and Colin Bell for their invaluable help in testing AndroidDreamer.

Change-log:
-ANDR beta 0.66 (March 31, 2012) - I have not had much time lately so nothing major was added. However, I removed the expiry-date although ANDR still remains a beta/experimental release.
-ANDR beta 0.65 (January 15, 2012) - Added support for multi-tuners. Removed support for mPlayer and added MX Video Player (free ad-version in AndroidMarket). Still an experimental release.
-ANDR beta 0.64 (December 31, 2011) - released a new beta with extended expiry-date (March 31, 2012). Got busy with another project - however ANDR will benefit from this.
-ANDR beta 0.63 (September 30, 2011) - released a new beta with extended expiry-date (Dec. 31, 2011). Should give plenty time for finishing Release-Candidate.
-ANDR beta 0.62 (September 4, 2011) - Again I corrected activity-views (screens/forms) so they will be displayed correctly when using tablets based on Honeycomb. Added possibility to save default Streaming-mode. Some other code-changes. Still an experimental release.
-ANDR beta 0.61 (August 24, 2011) - Adjusted activity-views (screens/forms) so they will hopefully be displayed correctly when using tablets. Some internal code-changes. Experimental release.
-ANDR beta 0.60 (July 30, 2011) - Added the possibility to select Daroon Player as default-player. Corrected also a stupid bug (Rtsp-souts shown in Http-mode) which was introduced when fixing a previous bug.
-ANDR beta 0.59 (July 28, 2011) - Fix for another bug on Honeycomb-devices (Android 3.1).
-ANDR beta 0.58 (July 16, 2011) - Fix (hopefully) for spinner-control on Honeycomb-devices (Android 3.1).
-ANDR beta 0.57 (May 17, 2011) - Added some Dreambox-commands such as Restart, Reboot, Shutdown and others.
-ANDR beta 0.56 (April 15, 2011) - Added support for setting new version of vPlayer as default-player for Direct Streaming. Extended time-limit.
-ANDR beta 0.55 (March 17, 2011) - Fix: Audio-issues. When streaming, with many dreambox-images, only the video would be shown but with no audio. I believe I have now fixed it. Fix: Save-button in General Settings not appearing on devices with 240x320 resolutions.
-ANDR beta 0.54 (March 10, 2011) - BUG-fix: VLC would not get killed upon exiting ANDR which would cause problems with 3G streaming on successive runs.
-ANDR beta 0.53 (March 9, 2011) - Added new remote streaming-method (HTTP using FLV), added DynDNS-address field, added a screen for setting VLC-preferences including bitrate and Width/Height-parameters. Added also an option to use vPlayer as default-player for Direct Streaming
-ANDR beta 0.52 (February 28, 2011) - Two issues resolved (1: Channel-change not taking place on second run. 2: Some Dreambox-images with modified channel-service data generated exceptions).
-ANDR beta 0.51 (February 20, 2011) - No major changes. In Direct Streaming-mode, you will now be prompted to choose which player to use for streaming. New players are being developed and now you can select your player of choice (and not only vPlayer). Some internal code-changes in view of next beta which will support HTTP-streaming.
-ANDR beta 0.50 (February 1, 2011) - Just extended time-limit since I have been very busy lately with other things.
-ANDR beta 0.49 (January 7, 2011) - ADDED support for Https (SSL), improved error-handling, some code-changes
-ANDR beta 0.47 (January 5, 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 (January 2, 2011) - first release on Android Market

This is it for the time being.

Good luck and Happy Streaming

Regards,
Tilleke
Attached Files
File Type: zip ANDR_VPN_SET_UP.zip - [Click for QR Code] (980.6 KB, 9860 views)
Rgds,
Tilleke
-------------------------------------------------
-AndroidDreamer - watch your Dreambox in streaming.
See: http://forum.xda-developers.com/showthread.php?t=861145
-WMDreamRemote - control and watch your Dreambox remotely.
See: http://forum.xda-developers.com/showthread.php?t=635682
-To stay up-to-date with my programs/apps
See: http://www.tillekesoft.com
The Following 12 Users Say Thank You to tilleke For This Useful Post: [ Click to Expand ]
 
chewlee78
Old
(Last edited by chewlee78; 10th February 2011 at 02:11 AM.)
#2  
Member
Thanks Meter 2
Posts: 54
Join Date: Aug 2010
can we stream the video from the dreambox to the android devices without switch on the PC?


Edited:- Sound & streaming problems can be solved by PLi image.

The Following User Says Thank You to chewlee78 For This Useful Post: [ Click to Expand ]
 
Marvi70
Old
#3  
Member
Thanks Meter 1
Posts: 39
Join Date: Jul 2010
Quote:
Originally Posted by chewlee78 View Post
can we stream the video from the dreambox to the android devices without switch on the PC?
yes, for e2-boxes this is possible.
search for DreamDroid in the market
 
Bib_x
Old
#4  
Bib_x's Avatar
Senior Member
Thanks Meter 20
Posts: 773
Join Date: Oct 2007
Hi, please can you tell me the standard-ports of vlc and dreambox?

With wmdr streaming works well, but with android i canīt get streaming to work. I get my bouquets and thatīs all.

I set up like in wmdr:
Dreambox 7000 S (Enigma 1)
HTC HD2 with Android
VLC 1.0.5

ip-adress: 192.168.178.11 (IP of my dreambox)
Port: 80 (Webinterface-Port of Dreambox)
Username: root (standard)
Passwort: dreambox (standard)
VLC IP Add: 192.168.178.10 (IP of my PC)
VLC DST Port: ? is this the Telnet port? In wmdr i used 4212 - is this right?
VLC HTTP Port: ?


In wmdr i set up:
VLC_OUTPUT_PORT]8085[VLC_OUTPUT_PORT
VLC_TELNET_PORT]4212[VLC_TELNET_PORT


What do i have to use in this two settings?

Device: HTC HD2 (Leo) European Version
Radio: 2.15
ROM: tytung NexusHD2-KitKat-CM11 V4.3 with DataOnEXT


 
tilleke
Old
#5  
Recognized Developer - OP
Thanks Meter 66
Posts: 600
Join Date: May 2008
For Enigma2 there are other solutions (search dreamDroid and vPlayer) but for Enigma1-users (like myself) and for Enigma2-users having problems installing/using vPlayer, AndroidDreamer should permit you to watch your Dreambox in streaming. A future version might implement vPlayer as well which is OK for LAN but for 3G, which is my ultimate goal, I am pretty sure VLC is needed.

Quote:
Originally Posted by Marvi70 View Post
yes, for e2-boxes this is possible.
search for DreamDroid in the market
Rgds,
Tilleke
-------------------------------------------------
-AndroidDreamer - watch your Dreambox in streaming.
See: http://forum.xda-developers.com/showthread.php?t=861145
-WMDreamRemote - control and watch your Dreambox remotely.
See: http://forum.xda-developers.com/showthread.php?t=635682
-To stay up-to-date with my programs/apps
See: http://www.tillekesoft.com
 
tilleke
Old
#6  
Recognized Developer - OP
Thanks Meter 66
Posts: 600
Join Date: May 2008
Please note that AndroidDreamer does not use the telnet-interface like WMDR did. It uses the HTTP-interface of VLC instead.

Just read the instructions I wrote and leave the VLC DST-port and VLC HTTP-port as they are.

Quote:
Originally Posted by Bib_x View Post
Hi, please can you tell me the standard-ports of vlc and dreambox?

With wmdr streaming works well, but with android i canīt get streaming to work. I get my bouquets and thatīs all.

I set up like in wmdr:
Dreambox 7000 S (Enigma 1)
HTC HD2 with Android
VLC 1.0.5

ip-adress: 192.168.178.11 (IP of my dreambox)
Port: 80 (Webinterface-Port of Dreambox)
Username: root (standard)
Passwort: dreambox (standard)
VLC IP Add: 192.168.178.10 (IP of my PC)
VLC DST Port: ? is this the Telnet port? In wmdr i used 4212 - is this right?
VLC HTTP Port: ?


In wmdr i set up:
VLC_OUTPUT_PORT]8085[VLC_OUTPUT_PORT
VLC_TELNET_PORT]4212[VLC_TELNET_PORT


What do i have to use in this two settings?
Rgds,
Tilleke
-------------------------------------------------
-AndroidDreamer - watch your Dreambox in streaming.
See: http://forum.xda-developers.com/showthread.php?t=861145
-WMDreamRemote - control and watch your Dreambox remotely.
See: http://forum.xda-developers.com/showthread.php?t=635682
-To stay up-to-date with my programs/apps
See: http://www.tillekesoft.com
 
Bib_x
Old
#7  
Bib_x's Avatar
Senior Member
Thanks Meter 20
Posts: 773
Join Date: Oct 2007
Ok, now i installed it again and used standard settings and set up my desktop-pc vlc like you explained.


I get an error, when streaming: media type not supported. I tried all 4 types of streming, on h.264 i got "connection to server not available". On all other types i got the first error message.

Device: HTC HD2 (Leo) European Version
Radio: 2.15
ROM: tytung NexusHD2-KitKat-CM11 V4.3 with DataOnEXT


 
tilleke
Old
#8  
Recognized Developer - OP
Thanks Meter 66
Posts: 600
Join Date: May 2008
@bib_x

Check if VLC http-interface is running. Open Internet-explorer on your PC running VLC and write:

Code:
http://127.0.0.1:8080
Do you see the VLC web-interface?

Also, have a look at my instructions :

Quote:
2a) 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.
Then try again.

Sometimes on the PC where VLC is running, there might be another program/service using port 8080. In that case, in VLC (under preferences somewhere), you can change the port. Then, you must also change this port in AndroidDreamer (VLC HTTP)
Rgds,
Tilleke
-------------------------------------------------
-AndroidDreamer - watch your Dreambox in streaming.
See: http://forum.xda-developers.com/showthread.php?t=861145
-WMDreamRemote - control and watch your Dreambox remotely.
See: http://forum.xda-developers.com/showthread.php?t=635682
-To stay up-to-date with my programs/apps
See: http://www.tillekesoft.com
 
chewlee78
Old
#9  
Member
Thanks Meter 2
Posts: 54
Join Date: Aug 2010
Quote:
Originally Posted by tilleke View Post
For Enigma2 there are other solutions (search dreamDroid and vPlayer) but for Enigma1-users (like myself) and for Enigma2-users having problems installing/using vPlayer, AndroidDreamer should permit you to watch your Dreambox in streaming. A future version might implement vPlayer as well which is OK for LAN but for 3G, which is my ultimate goal, I am pretty sure VLC is needed.
It is a great news for us, if the future version enable us to stream the video from dreambox (Enigma 1) to android tablet without switch on pc.
 
Bib_x
Old
(Last edited by Bib_x; 5th December 2010 at 02:36 PM.)
#10  
Bib_x's Avatar
Senior Member
Thanks Meter 20
Posts: 773
Join Date: Oct 2007
I changed my hosts-file already.

I wrote 192.168.178.0/16, beacause i use this ip in my network.

Also i removed the # from the line with 0.0.0.0


Then i changed vlc-port webinterface to 9090. But no success.


Still error-message: Media-Type not supported



Maybe i donīt have a good movieplayer installed on my android-phone? Which media-player should i use?

Device: HTC HD2 (Leo) European Version
Radio: 2.15
ROM: tytung NexusHD2-KitKat-CM11 V4.3 with DataOnEXT



Tags
dreambox, enigma, streaming, vlc
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes