解码

已完成

评论

4 条评论

  • DJI Developer Support
    app闪退时日志中是否有相关的崩溃日志? 编解码可参考该文章:第五章:视频流解码
    0
    评论操作 固定链接

    2023-07-02 12:36:31.513 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/PerceptionManager: (co_a:5) updatePerceptionDelegate 
    2023-07-02 12:36:32.160 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.161 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.162 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@6076689, canGet=true, canSet=false, canListen=false, canPerformAction=false, mIsEvent=false, identifier='FirmwareVersion'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.163 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@6076689, canGet=true, canSet=false, canListen=true, canPerformAction=false, mIsEvent=false, identifier='SerialNumber'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.163 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (co_a:27) io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | RxError{djiError=ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'}} 
    2023-07-02 12:36:32.163 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.164 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.169 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@6076689, canGet=true, canSet=false, canListen=false, canPerformAction=false, mIsEvent=false, identifier='FirmwareVersion'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.171 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) Failure getting key mKeyInfo:DJIKeyInfo{componentType=4, subComponentType=65534, converter=dji.sdk.keyvalue.converter.SingleValueConverter@6076689, canGet=true, canSet=false, canListen=true, canPerformAction=false, mIsEvent=false, identifier='SerialNumber'} mProductId:0 mComponentType:4 mComponentIndex:0 mSubComponentType:65534 mSubComponentIndex:65534. ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'} 
    2023-07-02 12:36:32.171 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (co_a:27) io.reactivex.rxjava3.exceptions.UndeliverableException: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | RxError{djiError=ErrorImp{errorType='CORE', errorCode='REQUEST_TIMEOUT', innerCode='', description='null', hint='error code = -3'}} 
    2023-07-02 12:36:32.259 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'} 
    2023-07-02 12:36:32.260 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'} 
    2023-07-02 12:36:32.260 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'} 
    2023-07-02 12:36:32.260 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'} 
    2023-07-02 12:36:32.328 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventNeverTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'} 
    2023-07-02 12:36:32.329 4398-4398/com.dji.sampleV5.aircraft E/DJIV5/RXUtil: (onFailure:1) SdrLostPreventHasTakeoffEnable-onFailure true ErrorImp{errorType='CORE', errorCode='REQUEST_HANDLER_NOT_FOUND', innerCode='', description='null', hint='error code = -1'} 

     

    0
    评论操作 固定链接

    日志大概是这样,第五章除了让你自己解码有什么好参考的

    0
    评论操作 固定链接
  • DJI Developer Support
    您给到我们的日志信息中似乎没有崩溃和闪退的内容。如果没有添加上您自己的解码代码,App会出现崩溃吗? 有一点会影响到您解码的是MSDK v5的I帧是通过videoDecoder进行请求的,因此没有videoDecoder会导致解码出来的数据黑屏或者卡顿严重。
    0
    评论操作 固定链接

请先登录再写评论。