Device IP: 192.168.11.65 probe //是单独探测。
需输入用户名和密码。
需要验证:
Debug 页面测试需要验证
Debug->Authentication-> WS-Usename token
选择 WS-Usename token
service : Media
通过GetSnapshotUri 获取:
需要 得到ProfileToken
ProfileToken 来自于 GetProfile->TC.MC.NVT.07_REQ_02.xml
<trt:Profiles token="Profile_1" fixed="true"><tt:Name>mainStream</tt:Name>
Send Reques 发送请求.
https://blog.csdn.net/m0_37287361/article/details/83827350
通过ONVIF测试图像
切换到“Debug”菜单栏,找到“Media”(对应音频和视频等媒体的探测与控制),点击“Media URL”右侧的“Get”按钮,然后点击下方的“Media Profile”右侧的“Get”按钮,发现默认选中的是“TestMediaProfile”:
将“Media Profile”中的“TestMediaProfile”切换为“MediaProfile_Channel_MainStream…”,可以发现“Media Profile”下方的“Vedio”和“Audio”的各个参数已经自动获取和填充上了。在最下方找到“Play Vedio”按钮,点击即可打开摄像头的视频图像: