feat: Support RTSP camera integration and expose Xiaomi camera via RTSP #149
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
一、RTSP摄像头接入miloco

1、使用方式
在config/server_config.yaml添加ip camera的配置即可(支持添加多个摄像头配置):
2、目前ip camera 只有h265格式能查看视频,h264格式看不了,但AI交互时,可以获取到图片,猜测应该是web_ui 支持的问题,未深入查看web_ui代码
3、在Linux X86架构与 Mac OS M2芯片上验证完成,可以查看视频

二、小米摄像头支持RTSP服务功能,可通过VLC查看视频


1、使用方式
在config/server_config.yaml 增加rtsp server配置
注:camera_did 从miloco_server/.temp/miloco.db中获取
2、在Linux X86架构与 Mac OS M2芯片上验证完成,可以查看视频
