Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSDK3.7 负载获取摄像机 H264 视频流问题 #141

Open
lxue1986 opened this issue Jan 28, 2024 · 4 comments
Open

PSDK3.7 负载获取摄像机 H264 视频流问题 #141

lxue1986 opened this issue Jan 28, 2024 · 4 comments

Comments

@lxue1986
Copy link

机场:大疆机场
无人机:M30T(机场版)

问题:
经过测试多条航线,负载启动之后获取不到摄像机的H264视频流(通过DjiLiveview_StartH264Stream注册的回调函数一直没有获取到视频流数据),但是我们发现一个奇怪的现象,当无人机飞完最后一个航点返航的时候,负载却可以正常获取到摄像机的H264视频流数据,多条不同的航线都有相同的规律,请问这种情况会是什么原因造成的?

备注:在负载获取不到摄像机H264视频流的时间段内,系统后台无人机视角的视频直播画面是正常的

测试结果:
image

@dji-dev
Copy link
Contributor

dji-dev commented Jan 29, 2024

Agent comment from xiaorong.zheng in Zendesk ticket #100045:

尊敬的开发者,
您好,感谢您联系DJI 大疆创新。

麻烦您修改代码测试,在第一次获取流失败后,再次调用DjiLiveview_StartH264Stream拉流进行测试。

希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快!

Best Regards,
DJI 大疆创新SDK技术支持

°°°

@lxue1986
Copy link
Author

Agent comment from xiaorong.zheng in Zendesk ticket #100045:尊敬的开发者, 您好,感谢您联系DJI 大疆创新。

麻烦您修改代码测试,在第一次获取流失败后,再次调用DjiLiveview_StartH264Stream拉流进行测试。

希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快!

Best Regards, DJI 大疆创新SDK技术支持

°°°

好的,感谢您的回复,我们测试一下

@Jessicahjj
Copy link

Jessicahjj commented Jan 30, 2024

按照上面的方法再次测试后,问题没有得到解决。请问还有什么方法?

@dji-dev
Copy link
Contributor

dji-dev commented Jan 31, 2024

Agent comment from xiaorong.zheng in Zendesk ticket #100045:

请先使用最新PSDK代码,在第一次获取流失败后,先调用DjiLiveview_StopH264Stream,再调用DjiLiveview_StartH264Stream拉流。如果问题依然存在,就需要您拉日志提单分析。

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@dji-dev @lxue1986 @Jessicahjj and others