PSDK例程获取M3TD相机视频流时,DjiLiveview_StartH264Stream函数内部返回Request h264 stream return error retcode : 135.
PSDK版本以及机型:
[0.031][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.2-beta.0-build.2125
[1.233][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 3D Series
[1.233][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Extension Port Type
[1.261][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 921600 bps
[3.291][adapter]-[Info]-[DjiPayloadNegotiate_Init:228) Waiting payload negotiate finish.
[4.358][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:474) Updating dji sdk policy file...
[5.359][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:482) Update dji sdk policy file successfully
[5.409][core]-[Info]-[DjiCore_Init:174) Identify AircraftType = Matrice 3TD, MountPosition = Extension Port, SdkAdapterType = None
[5.412][gimbal]-[Error]-[DjiGimbal_Init:205) Can't support this function
[5.412][user]-[Error]-[DjiTest_GimbalStartService:154) init gimbal module error: 0x000000E0
[5.412][user]-[Error]-[DjiUser_ApplicationStart:316) psdk gimbal init error
当运行:
DjiLiveview_StartH264Stream(DJI_LIVEVIEW_CAMERA_POSITION_NO_1, DJI_LIVEVIEW_CAMERA_SOURCE_DEFAULT, LiveviewConvertH264ToRgbCallback);
错误打印字符串:
[47.541][liveview]-[Error]-[DjiLiveview_StartH264Stream:676) Request h264 stream return error retcode : 135.
除了获取相机视频流功能之外,其他功能一切正常,M3TD用遥控器查看一切正常,固件已全部升级最新,飞机固件信息:
飞机版本:10.01.3205
云台:00.01.25.93
M3TD负载:44.99.10.59
电池:26.03.00.48
且只有这台M3TD有问题,更换另一台未升级的M3TD就没有此问题
望解答
请先登录再写评论。
评论
2 条评论