视频流传输时数据量过大或者波动,会出现画面卡顿停止,但是过会又能恢复,报错如下[93.029][channel]-[...

Completed

Comments

8 comments

  • DJI Developer Support
    数据量过大,可以看下DjiStreamChannelUdp_SendData发送的数据是多少,接口单次发送的最大数据量不超过65000。
    0
    Comment actions Permalink
  • DJI Developer Support
    有拆包循环发送的,超6000就拆包了,不如13000,发6000循环再发的,直接调用sendvideostream
    0
    Comment actions Permalink
  • DJI Developer Support
    数据发不过去时有没有检查网口通信是不是有短暂断开或者延时?
    0
    Comment actions Permalink
  • DJI Developer Support
    发不过去是网络是没断开,但是延时会增加0.5~1ms
    0
    Comment actions Permalink
  • DJI Developer Support
    发不过去时网络是没出现断开,但是ping延时会增加0.5~1ms
    0
    Comment actions Permalink
  • DJI Developer Support
    码率多大?正常情况下,以及发不出去时的码流,最大不能超过4M,另外不能超过PSDK带宽设置。这种情况如果会有概率出现短暂的数据送不出去,建议可以适当降码率。
    0
    Comment actions Permalink
  • DJI Developer Support
    视频码率降到2M还是出现这样的情况,再低也会出先这种情况,psdk的带宽设置是?
    0
    Comment actions Permalink
  • DJI Developer Support
    检查一下是不是有用这个API设置带宽分配:DjiHighSpeedDataChannel_SetBandwidthProportion。
    0
    Comment actions Permalink

Please sign in to leave a comment.