我一直试图请求Onvif快照,但是GetSnapshotUri()函数以“Profile Token”作为参数。在
我调用了GetProfiles()函数,结果是一个概要文件列表,其中一个有a _token = "MediaProfile000"
。在
如果我只是在GetSnapshotUri()函数中键入此标记,它将显示:
onvif.exceptions.ONVIFError: Unknown error: Method instance argument after ** must be a mapping, not str
所以我试着这样做:
^{pr2}$但你猜怎么着?在
onvif.exceptions.ONVIFError: Unknown error: Method instance argument after ** must be a mapping, not Text
请帮忙
这对我有用!! 将firstProfile.\u令牌替换为firstProfile.token在
相关问题 更多 >
编程相关推荐