-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
While looking at #324, I noticed that there are several implementations for generating the ONVIF URL:
url_build_onvif_device_service_urlinurl_utils.cbuild_ptz_urlinapi_handlers_ptz.cextract_onvif_base_urlinunified_detection_thread.c
The implementation in url_build_onvif_device_service_url looks a lot cleaner, passing off parsing of the URL to curl, but unfortunately it does not properly handle the rtsps -> https case.
And looking further, there's already onvif_ptz_get_service_url which replaces onvif/device_service with onvif/ptz_service. It might make sense just to refactor all the onvif URL generation to use common code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels