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

how to get token when the request need #4

Open
yutianlong opened this issue Feb 13, 2023 · 1 comment
Open

how to get token when the request need #4

yutianlong opened this issue Feb 13, 2023 · 1 comment

Comments

@yutianlong
Copy link

as wrong tip :
osdOptions = self.media2_service.GetOSDOptions(token)
File ".r\venv\lib\site-packages\onvif2\client.py", line 26, in wrapped
raise ONVIFError(err)
onvif2.exceptions.ONVIFError: Unknown error: The ReferenceToken type doesn't accept collections as value

when I want to get OSDOptions :media2_service.GetOSDOptions(), should be insert token ,but I can't get it .help me tks

@yingchengpa
Copy link
Owner

you can use https://github.com/FalkTannhaeuser/python-onvif-zeep , try is it ok?
and,what the camer model? hik 、dahua 、sony ?

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

2 participants