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

Apps no sound with seekTo() m3u8 file on Galaxy Tab 2

Discussion in 'Android Development' started by broadpeak, Jun 7, 2012.

  1. broadpeak

    broadpeak Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jun 7, 2012

    Jun 7, 2012
    1
    0
    5
    Hello,

    I have the source code of an appli I had to make it works with HLS (.m3u8 files). It works well but there's still a problem.

    When I click on Resume button, the bar goes to the specific time when I stopped playing but there is no sound ! ONLY with HLS, it work well with .mp4.

    I guess it is due to seekTo() from MediaPlayer because when I disable that, the sound works well but of course, the stream starts at the beginning.

    Tell me if you want the source code of some methods.

    Thanks in advance ! Julian
     

    Advertisement

  2. RichSz

    RichSz Not Entitled
    Rank:
    None
    Points:
    313
    Posts:
    2,086
    Joined:
    Jul 9, 2010

    Jul 9, 2010
    2,086
    1,173
    313
    Male
    Software Engineer
    Between Imladris and Lothl
    Moved to Application Development.
     

Share This Page

Loading...