1. Download our Official Android App: Forums for Android!

Apps How to play m3u8 format stream videos in android

Discussion in 'Android Development' started by saravanancitian, Jan 27, 2010.

  1. saravanancitian

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jan 27, 2010

    Jan 27, 2010
    1
    0
    5
    Hi,

    I want to write a code for playing the playlist stream video file which is m3u8 format. If I give the source url link of the playlist (m3u8) in the MediaPlayer, it throws exception. Can you please help me for finding the solution.


    Thanks in Advance.
     

    Advertisement

  2. jalara

    jalara Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 22, 2011

    Jul 22, 2011
    1
    0
    5
    I am also looking for this solution.

    Thanks.
     
  3. alostpacket

    alostpacket Over Macho Grande?
    Rank:
    None
    Points:
    513
    Posts:
    7,973
    Joined:
    Nov 29, 2009

    Nov 29, 2009
    7,973
    3,603
    513
    Android App Developer
    NY
    Welcome to AF

    The MediaPlayer is bugged with regards to starting playlists via intents. You kinda have to roll your own solution.

    It wont ever understand a path to a playlist either m3u or m3u8 - unless they recently fixed that in honeycomb or something.

    Also feel free to drop by out app dev section: http://androidforums.com/application-development/
     
  4. NZtechfreak

    NZtechfreak Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,825
    Joined:
    Apr 23, 2010

    Apr 23, 2010
    1,825
    763
    213
    Medical Doctor
    Auckland, New Zealand
    Dice Player can do this.
     
  5. alostpacket

    alostpacket Over Macho Grande?
    Rank:
    None
    Points:
    513
    Posts:
    7,973
    Joined:
    Nov 29, 2009

    Nov 29, 2009
    7,973
    3,603
    513
    Android App Developer
    NY
    Certainly 3rd Party media players probably all handle the intent correctly, but the default/stock Android media player does not. :(
     
  6. Janet55

    Janet55 Newbie
    Rank:
    None
    Points:
    16
    Posts:
    29
    Joined:
    Jan 24, 2011

    Jan 24, 2011
    29
    1
    16
    +1
    Works great for many formats, though sometimes still need aneesoft to do converting~
     
  7. alostpacket

    alostpacket Over Macho Grande?
    Rank:
    None
    Points:
    513
    Posts:
    7,973
    Joined:
    Nov 29, 2009

    Nov 29, 2009
    7,973
    3,603
    513
    Android App Developer
    NY
    Just FYI, thes OP's question is a development question not a "what app can handle this" question.

    I'm gonna go ahead and move this to the development forum because the response are getting confused :)
     

Share This Page

Loading...