Increased latency on RTMP streaming

已完成

评论

12 条评论

  • DJI Developer Support
    Do you think the delay of up to one minute is caused by accumulated delays? If you have deployed the RTMP server yourself, you may consider disabling some caching actions on the server side to reduce delays caused by caching.
    1
    评论操作 固定链接
  • Abbas

    Sorry for late reply

    No it is stock nginx server and i have disabled cashing

    and what can be the cause of isLensDistortionCalibrationNeeded returning True i have calibrated my drone twice and it still same results

     

    1
    评论操作 固定链接
  • DJI Developer Support
    Can you tell if there is any improvement after disabling the cache? Otherwise, you can also try version 5.8.0-a2, which has significant improvements for accessing camera video streams. Please note that you need to use the new interface and we are continuously improving the functionality. A official version will be released in the future.
    1
    评论操作 固定链接
  • Abbas

    No it is same

    as of version 5.8.0-a2 is it supported for mavic 2 pro ?

    0
    评论操作 固定链接
  • DJI Developer Support
    I'm sorry to inform you that the 5.8.0-a2 version does not support the Mavic 2 Pro. Therefore, you won't be able to use it on this model.
    1
    评论操作 固定链接
  • Abbas

    Thanks i found an alternative for sdk's Rtmp client max bandwidth is set to 2Mb which can be suspected cause of delay as i have tested transmission of same video via rootencoder's RTMP client it have no lag in it and its  max bandwidth was set to 4Mb

    hopefully if i can manage to get raw h264 buffer i can resolve this issue

    0
    评论操作 固定链接
  • DJI Developer Support
    You can try setting the bitrate to the maximum using setLiveVideoBitRate. By default, the maximum bitrate is 2Mbps, but it can be set as high as 3.5Mbps.
    0
    评论操作 固定链接
  • Abbas

    in documentation it says that max allowed bit-rate is 2*1024 so can i set more then that ?

    0
    评论操作 固定链接
  • yating.liao

    0
    评论操作 固定链接
  • yating.liao

    I have reviewed the document and it indicates that the maximum value is up to 3.5*1024. You should be able to set it to this value.

     

    0
    评论操作 固定链接
  • Abbas

    my bad i got it mixed with default value

    0
    评论操作 固定链接
  • DJI Developer Support
    Don't worry, you can try setting it to the maximum value to see if it helps.
    0
    评论操作 固定链接

请先登录再写评论。