处理视频流的时候,程序经常崩溃,看日志,是在msdk上,具体如下:#1200 video hardware enco...

Completed

Comments

11 comments

  • DJI Developer Support
    这个是问题,你的机型和MSDK版本是多少?
    0
    Comment actions Permalink
  • 红色石头

    机型:M300 RTK;mask:4.15

    0
    Comment actions Permalink
  • DJI Developer Support
    能确定是4.15吗,从错误可以看到有写类被加密了,我用4.15的解密软件无法解密。不解密无法分析错误是从哪个函数报错的。
    0
    Comment actions Permalink
  • 红色石头
    implementation ('com.dji:dji-sdk:4.15')
    compileOnly ('com.dji:dji-sdk-provided:4.15')
    0
    Comment actions Permalink
  • DJI Developer Support
    能否说一下M300+H20T怎么处理视频流导致的崩溃吗?是调用了哪些函数?使用Sample是否可以复现呢?
    0
    Comment actions Permalink
  • 红色石头

    我们就是通过VideoFeed.VideoDataListener取视频数据,然后发送出去;过一段时间,经常会出现上述问题

    0
    Comment actions Permalink
  • DJI Developer Support
    是getPrimaryVideoFeed的VideoDataListener对吧,数据不发送出去应该也会崩溃,我们本地测试一下。
    0
    Comment actions Permalink
  • 红色石头

    是哒

    0
    Comment actions Permalink
  • DJI Developer Support
    我们在M300的遥控器里打开Sample项目,点开MultipleLensCameraView,播放了10分钟也没有出现内存泄漏导致OOM的问题,内存一直稳定在150MB以内。会不会是你的代码有内存泄漏,到了我们图传这边申请内存导致的OOM?
    0
    Comment actions Permalink
  • 红色石头

    我们程序运行都比较长,都是几个小时这种,时间段的话,我们这边也没有

    0
    Comment actions Permalink
  • DJI Developer Support
    你们能用Sample项目测一下吗?大概记录一下需要多久会复现。按照我说得到MultipleLensCameraView里面测。最好能给我看一下内存方面的报告,用Android Profiler。
    0
    Comment actions Permalink

Please sign in to leave a comment.