FalkTannhaeuser / python-onvif-zeep

ONVIF Client Implementation in Python 2+3 (using https://github.com/mvantellingen/python-zeep instead of suds as SOAP client)
MIT License
445 stars 145 forks source link

onvif-cli: Python Serialised Data returned instead of raw response #104

Open sshaikh opened 1 year ago

sshaikh commented 1 year ago

Using onvif-cli, I am seeing some kind of serialised OrderedDict from a call to media GetProfiles. This isn't a huge deal except this data seems to be missing some attributes to be found in the original XML response, in particular the token in the Profile section:

<trt:Profiles token="h264_ulaw_1920x1080" fixed="true">

How can I get the raw response, or alternatively how can I get profile token from the existing data being printed?