1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[alpha] LiveTV streaming for Android

Discussion in 'WebService and Mobile Access' started by Oxan, May 1, 2011.

  1. Oxan
    • Team MediaPortal

    Oxan Retired Team Member

    Joined:
    August 29, 2009
    Messages:
    1,730
    Likes Received:
    1,024
    Gender:
    Male
    Ratings:
    +1,115 / 2
    Home Country:
    Netherlands Netherlands
    (note: this isn't ready for usage by end-users yet. You'll need quite a bit of technical knowledge to set this up and get it working).

    I've developed a simple Android app that lets you play live TV on your Android device. Android 2.3 or higher is required. The stream is a 800x450 H.264 stream with AAC audio, at around 1Mbps. All high-end devices (HTC Desire-series, Samsung Galaxy S, Sony Ericsson Xperia Arc, LG Optimus 2X Speed and more) should be able to play it. I've had it working over HSDPA or 3G networks, but you need to be a bit lucky. It also eats bandwidth: around 700MB for one hour.





    Currently the server side setup is difficult to setup. Download and install the latest MPWebStream version. You need to host MPWebStream under IIS, as that's the only way to have the webservice working (basically a restriction made by Microsoft). For that to work, you have to remove the <configSections> section from Web.config. Add a new application to IIS, with the physical path set to the Site directory of MPWebStream. Disable the built-in webserver in the MPWebStream configuration and restart the TV Server. Verify that you have an Android transcoder listed and that it works (using your favorite mediaplayer such as VLC). If that all is working, you can install the app on your device and configure it. If it doesn't show a transcoder list but instead tells you that the server is invalid, try restarting the app (that's a known bug). If the stream doesn't start the first time you try, that's also a known bug. Try it again after a minute and it should work. There is a hardcoded 30-second timeout in Android which is a bit too low.

    This will probably be a one-time release. I'm going to work with the other Android remote developers to see if we can integrate it all in a single app and to make the server side setup easier.

    Btw, source code is as always available on GitHub.
     

    Attached Files:

    • LiveTV.zip
      File size:
      22 KB
      Uploaded:
      May 1, 2011
      Views:
      619
    • Like Like x 3
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. canarygsr

    canarygsr Portal Pro

    Joined:
    October 23, 2007
    Messages:
    105
    Likes Received:
    2
    Location:
    Melbourne
    Ratings:
    +2 / 0
    Home Country:
  4. Oxan
    • Team MediaPortal

    Oxan Retired Team Member

    Joined:
    August 29, 2009
    Messages:
    1,730
    Likes Received:
    1,024
    Gender:
    Male
    Ratings:
    +1,115 / 2
    Home Country:
    Netherlands Netherlands
    No; probably not. The problem is that 2.2 only supports MP4 streaming, which is a very difficult topic: MP4 isn't designed to be streamed, so you need to do some special tricks for which currently no non-specialized software exists.
     
  5. lestat

    lestat Portal Member

    Joined:
    July 15, 2007
    Messages:
    20
    Likes Received:
    0
    Ratings:
    +0 / 0
    is this plugin still alive?

    tks
     
  6. Oxan
    • Team MediaPortal

    Oxan Retired Team Member

    Joined:
    August 29, 2009
    Messages:
    1,730
    Likes Received:
    1,024
    Gender:
    Male
    Ratings:
    +1,115 / 2
    Home Country:
    Netherlands Netherlands
    No, I don't maintain it anymore but I still use it occasionally, so it should be working. Current work is focusing on integrating it into aMPdroid, which more or less works. If you can wait a little you have a easy to setup and stable working system, both features that this plugin lacks.
     
  7. lestat

    lestat Portal Member

    Joined:
    July 15, 2007
    Messages:
    20
    Likes Received:
    0
    Ratings:
    +0 / 0
    cool :) gona wait then...

    tks
     
  8. DieBagger
    • Team MediaPortal

    DieBagger Retired Team Member

    Joined:
    September 11, 2007
    Messages:
    2,516
    Likes Received:
    1,257
    Gender:
    Male
    Occupation:
    Android Developer
    Location:
    Austria
    Ratings:
    +1,302 / 0
    Home Country:
    Austria Austria
    Show System Specs
    No, this was only a proof-of-concept in the first place, but live streaming is now fully integrated into aMPdroid...
     
  9. Oxan
    • Team MediaPortal

    Oxan Retired Team Member

    Joined:
    August 29, 2009
    Messages:
    1,730
    Likes Received:
    1,024
    Gender:
    Male
    Ratings:
    +1,115 / 2
    Home Country:
    Netherlands Netherlands
    No, this was a proof-of-concept for aMPdroid indeed.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Like Us On Facebook

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!