Additions:
- Add support flags for "sub" and "main" stream
- Add Floodlight mode "Auto PIR" (Reolink Solar Floodlight Cam)
- Add whiteled_event_on_time_range and whiteled_event_flash_time_range
- Add autotrack_snapshot flag and use baichuan for snapshots of sub_channel capable cams
Bug fixes:
- Fix deadlock in baichuan login method when trying for TCP/UDP
- Fix work mode battery for Argus Magicam
- Optimize work mode powered support detection
- Prevent KeyError in frame_rate_list and bit_rate_list
- Do not consider "videoEncType" in determination of sub stream support
- Improve support detection of FTP
- Use cmd_id 146 to determine bitrate and framerate lists if possible instead of cmd_id 1
Optimizations:
- Make sure xml gets logged in pretty format
- Improve pretty_xml to include xml header and handle newline at start
- Use xml_declaration instead of XML_HEADER concanation
- Allow directly passing a xml_body to baichuan send
- Make baichuan set_ptz_command more robust
- Only support frame_rate and bit_rate if there is more then 1 option
- Do not log error during logout when timeout waiting on send ACK
Full Changelog: 0.21.16...0.21.17