IJK问题记录

  • 硬解,播放视频从后台切回前台,有声音,但画面暂停
    • 参照github上issues,IJKVideoToolBox.m static int decode_video(VideoToolBoxContext* context, AVCodecContext avctx, AVPacket *avpkt, int got_picture_ptr)中添加context->idr_based_identified = false可解决。编译最新版本IJK未在IJKVideoToolBox.m中发现该方法,打断点发现decode_video在IJKVideoToolBoxSync.m中有调用,因此在此处添加,重新编译framework,自测可行。参考:
      https://github.com/bilibili/ijkplayer/issues/873
  • M3U8中包含#EXT-X-DISCONTINUITY,seek无效