HLS (http live streaming) on Android 3.0 and seeking

后端 未结 5 610
广开言路
广开言路 2020-12-14 07:19

We have a provider that gives us m3u8 files for HLS streams (originally intended for use in an iOS app).

Android 3.0+ supports http live streaming (http://developer.

5条回答
  •  时光取名叫无心
    2020-12-14 08:19

    Look at this (which you referred too) page

    It says:

    • Protocol version 3 (Android 4.0 and above)
    • Protocol version 2 (Android 3.x)

    And here you can check draft's for HLS. You can choose a version at the top of the page.

    First reference to seeking appeared in draft 3 (comparing to draft 2 Android 3.x)

    The value of the date and time provides an informative mapping of the timeline of the media to an appropriate wall-clock time, which may be used as a basis for seeking

    Just to make sure. I didn't read through whole draft. But, my guess would be that Android implemented quite early draft in Android 3.0 and they may have implemented it partially, which is enough to play, but it's not enough to seek.

    I don't think that you have an easy fix for this, except brining in 3rd party HLS client (as suggested by vipw)

提交回复
热议问题