Open Bug 1569955 Opened 5 years ago Updated 2 years ago

Stop WebRTC mDNS service when no hostnames are registered

Categories

(Core :: WebRTC: Networking, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: dminor, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, the lifetime of the mDNS service is tied to the lifetime of the StunAddrsRequestParent, which is not freed until the process is shutdown (see Bug 1569311). With a bit of care, we possibly could shutdown the mDNS service after an unregister_hostname call if no more hostnames are registered.

We might want to have an idle period prior to shutdown. A site like aliexpress ends up registering and unregistering hostnames during page to page navigation, and having some sort of timeout would reduce the number of times we start and stop the service.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.