Android 4.3 HLS Issues

What I'm trying to achieve is live live through an Android device. After testing prior to version 4.3, the devices play live broadcasts using HLS.m3u8 properly. A sample source code is as follows:

<video controls="controls" style="height:400px; width:320px;">
    <source src="/hls-live/my-stream_/my-stream_,1360,500,.m3u8"></source>
</video>

<a href="/hls-live/my-stream_/my-stream_,1360,560,.m3u8">Direct Link<a/>

As you can see above, I'm trying to use an HTML5 tag to render a stream. It will not play in the browser, however, if you click on the direct link with the same path, a player will appear and the stream will play correctly.

So, I am a little confused here, why the living cannot be a player properly under html5 player, but can play in a pop-up player (I assume that later it is a native Android player?)

Environment:

  • Android OS 4.3
  • ASUS Nexus 7
  • Chrome browser

EDIT: ​​ , , http://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov/playlist.m3u8 http://www.wowza.com/forums/showthread.php?32675-HLS-playback-issue-on-Android-4-3. m3u8 <source>, Chrome . m3u8, , avc1.66.30, mp4a.40.2, , , . .

media.canPlayType('application/vnd.apple.mpegURL') .

+3
1

, , , , , cross origin proxy ( HSL).

, Access-Control-Allow-Origin: * .m3u8 .ts,

0

All Articles