Skip to content

Conversation

@jmotow
Copy link
Contributor

@jmotow jmotow commented Jan 20, 2026

Implementation of sample of cameras discovery and DLS pipeline execution based on ONVIF protocol.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

pylint

samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|251 col 22| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|265 col 12| W0212: Access to a protected member _ptz_name of a client class (protected-access)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|266 col 12| W0212: Access to a protected member _ptz_token of a client class (protected-access)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|267 col 12| W0212: Access to a protected member _ptz_node_token of a client class (protected-access)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|269 col 22| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|282 col 15| W0718: Catching too general exception Exception (broad-exception-caught)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|174| R0912: Too many branches (36/12) (too-many-branches)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|174| R0915: Too many statements (94/50) (too-many-statements)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|302 col 18| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|310 col 18| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|328 col 18| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|345 col 18| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|351 col 18| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|360 col 18| W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|295| R0912: Too many branches (31/12) (too-many-branches)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|295| R0915: Too many statements (57/50) (too-many-statements)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|8| C0411: standard import "xml.etree.ElementTree" should be placed before third party import "onvif.ONVIFCamera" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|9| C0411: standard import "urllib.parse.urlparse" should be placed before third party import "onvif.ONVIFCamera" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|10| C0411: standard import "socket" should be placed before third party import "onvif.ONVIFCamera" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|11| C0411: standard import "time" should be placed before third party import "onvif.ONVIFCamera" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|12| C0411: standard import "re" should be placed before third party import "onvif.ONVIFCamera" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|13| C0411: standard import "json" should be placed before third party import "onvif.ONVIFCamera" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|14| C0411: standard import "typing.Optional" should be placed before third party import "onvif.ONVIFCamera" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|7| W0611: Unused ONVIFCamera imported from onvif (unused-import)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_discovery_utils.py|14| W0611: Unused Dict imported from typing (unused-import)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|46 col 31| C0303: Trailing whitespace (trailing-whitespace)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|47 col 52| C0303: Trailing whitespace (trailing-whitespace)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|52 col 31| C0303: Trailing whitespace (trailing-whitespace)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|53 col 52| C0303: Trailing whitespace (trailing-whitespace)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|139| C0305: Trailing newlines (trailing-newlines)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|1| C0114: Missing module docstring (missing-module-docstring)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|14| E0401: Unable to import 'onvif' (import-error)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|16 col 24| W0621: Redefining name 'command' from outer scope (line 103) (redefined-outer-name)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|32 col 8| W0621: Redefining name 'process' from outer scope (line 118) (redefined-outer-name)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|25 col 15| W0718: Catching too general exception Exception (broad-exception-caught)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|59 col 11| W0718: Catching too general exception Exception (broad-exception-caught)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|32 col 18| R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|64 col 24| W0621: Redefining name 'rtsp_url' from outer scope (line 111) (redefined-outer-name)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|10| C0411: standard import "json" should be placed before third party imports "dls_onvif_data", "dls_onvif_discovery_utils" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|11| C0411: standard import "typing.Optional" should be placed before third party imports "dls_onvif_data", "dls_onvif_discovery_utils" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|12| C0411: standard import "subprocess" should be placed before third party imports "dls_onvif_data", "dls_onvif_discovery_utils" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|13| C0411: standard import "threading" should be placed before third party imports "dls_onvif_data", "dls_onvif_discovery_utils" (wrong-import-order)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|10| W0611: Unused import json (unused-import)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|11| W0611: Unused Optional imported from typing (unused-import)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|11| W0611: Unused Dict imported from typing (unused-import)
samples/gstreamer/python/onvif_cameras_discovery/dls_onvif_sample.py|11| W0611: Unused List imported from typing (unused-import)

@jmotow jmotow changed the title NOT FOR REVIEW YET! Initial version of ONVIF's camera(s) discovery. Still in WIP. Implementation of ONVIF's cameras discovery for DLS. Jan 27, 2026
@jmotow jmotow changed the title Implementation of ONVIF's cameras discovery for DLS. [DLStreamer] Implementation of ONVIF's cameras discovery for DLS. Jan 27, 2026
@jmotow jmotow changed the title [DLStreamer] Implementation of ONVIF's cameras discovery for DLS. [DLStreamer] Sample application demonstrating ONVIF Camera Discovery and DL Streamer Pipeline Launcher Jan 27, 2026
@jmotow jmotow marked this pull request as ready for review January 27, 2026 10:42
jmotow and others added 4 commits January 27, 2026 13:11
…covery_utils.py

Co-authored-by: Olena Onyshchenko <olena.onyshchenko@intel.com>
…covery_utils.py

Co-authored-by: Olena Onyshchenko <olena.onyshchenko@intel.com>
…ple.py

Co-authored-by: Olena Onyshchenko <olena.onyshchenko@intel.com>
…a.py

Co-authored-by: Olena Onyshchenko <olena.onyshchenko@intel.com>
@jmotow jmotow changed the title [DLStreamer] Sample application demonstrating ONVIF Camera Discovery and DL Streamer Pipeline Launcher Sample application demonstrating ONVIF Camera Discovery and DL Streamer Pipeline Launcher Jan 28, 2026
Copy link
Contributor

@tbujewsk tbujewsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmotow jmotow requested a review from tbujewsk January 28, 2026 16:52
Copy link
Contributor

@dmichalo dmichalo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing all findings! :)

Copy link
Contributor

@oonyshch oonyshch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, you addressed it all.

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

Successfully merging this pull request may close these issues.

5 participants