Skip to content

Add ONVIF WS-Discovery support for Windows network camera discovery - #2337

Draft
lrh3321 wants to merge 1 commit into
AlexxIT:devfrom
lrh3321:feat_wsdiscovery
Draft

Add ONVIF WS-Discovery support for Windows network camera discovery#2337
lrh3321 wants to merge 1 commit into
AlexxIT:devfrom
lrh3321:feat_wsdiscovery

Conversation

@lrh3321

@lrh3321 lrh3321 commented Jul 7, 2026

Copy link
Copy Markdown

This PR implements ONVIF WS-Discovery support so go2rtc can advertise itself as a discoverable ONVIF network camera on the local network.

This addresses the use case described in the related issue: allowing Windows to discover go2rtc as a network camera, which can help scenarios such as Azure Virtual Desktop and Microsoft Teams where virtual cameras are not recognized but network cameras may be available through Windows camera discovery.

Related Issue

Closes #1290

Changes

  • Add WS-Discovery multicast listener on 239.255.255.250:3702
  • Respond to ONVIF Probe requests with ProbeMatch
  • Publish ONVIF service endpoint via XAddrs
  • Send WS-Discovery Hello announcement on startup
  • Support ONVIF Device and NetworkVideoTransmitter discovery types
  • Add configuration controls for WS-Discovery behavior

Notes

This makes go2rtc visible to clients that rely on ONVIF WS-Discovery. Actual Windows camera integration may still depend on Windows ONVIF client behavior and supported stream/profile capabilities.

Add ONVIF WS-Discovery multicast handling with Probe response support
and startup Hello announcement. Make WS-Discovery configurable via the
ONVIF module settings, including concurrency, Hello publishing, and
disable controls.
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.

1 participant