Open githubhanjunjun opened 5 years ago
@githubhanjunjun Is there a solution
h264-live-player is based on Broadway.js, which is based on Android's h264 decoder, which can only decode a baseline stream.
User shengbinmeng created an ffmpeg version which can decode main streams, available here as Decoder-ff.js
: https://github.com/shengbinmeng/javascript-ts-player/tree/master/js
It uses the same API so you can just replace Decoder.js
with this file and re-bundle with npm run dist
inside the vendor
directory. The new http-live-player.js
will be able to decode main streams.
Or if you like, just replace http-live-player.js
with my pre-compiled version.
@x0a Thank you so much! You are saved my day!
Unable to play H264 video stream of main profile