Closed
Bug 1309815
Opened 8 years ago
Closed 3 years ago
[Presentation WebAPI] Add a refresh button in device selection prompt
Categories
(Firefox :: Site Permissions, defect, P5)
Firefox
Site Permissions
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: chunmin, Unassigned)
References
Details
It would be better if there is refresh button to reload the available devices for presentation API in device selection prompt.
Comment 1•8 years ago
|
||
Is there any way for the platform to send an event when a new device is detected, so that the UI can be refreshed automatically with the user needing to click a button?
Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #1) > Is there any way for the platform to send an event when a new device is > detected, so that the UI can be refreshed automatically with the user > needing to click a button? The Presentation API is based on mDNS, which can't provide event-callback mechanisms in some cases. In that protocol, we need to force update to get the available devices. That's why we need a refresh button.
Comment 3•8 years ago
|
||
How expensive is it to force-update? Could we do it every second while the prompt is visible?
Comment 4•8 years ago
|
||
device-scanning isn't always cheap, though we try to cache it. Varies by OS considerably, and in some cases perhaps by driver (since we need to interact with the driver to return if a device is available). We do have a device-change event API now (visible to apps as well)
Updated•3 years ago
|
Severity: normal → S4
Priority: -- → P5
Comment 5•3 years ago
|
||
Bug 1697680 removed Presentation API implementation.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•