Skip to content

Device motion sampling frequency #87

Open

Description

@marcoscaceres

There was instances where the deviceorientation refresh rate was so high that it could be used a microphone. https://bugzilla.mozilla.org/show_bug.cgi?id=1292751 (related paper linked to there).

The spec should suggest or say why sampling frequency should be capped at something reasonable (25-60hz).

Activity

  1. added
    privacy-trackerGroup bringing to attention of Privacy, or tracked by the Privacy Group but not needing response.
    on Jun 23, 2020
  2. anssiko commented on Feb 25, 2024

    @anssiko
    Member

    @marcoscaceres what's the frequency cap in WebKit?

    Discussed in https://www.w3.org/2024/02/12-dap-minutes.html#t06

  3. removed
    privacy-trackerGroup bringing to attention of Privacy, or tracked by the Privacy Group but not needing response.
    on Mar 7, 2024
  4. anssiko commented on Mar 8, 2024

    @anssiko
    Member

    To be discussed with PING when a solution is identified, latest prior to the Proposed Rec transition.

    Context: w3cping/privacy-request#128

  5. marcoscaceres commented on Oct 29, 2026

    @marcoscaceres
    MemberAuthor

    what's the frequency cap in WebKit?

    WebKit on iOS sends orientation and motion events up to 60 times a second (60 Hz). I found no separate cap: a timer set to 1/60 of a second drives both events (the interval, the timer).

    I also measured a physical iPhone for 10 seconds. The phone sent 599 orientation events and 599 motion events, about 60 a second each. The busiest second had 61 of each.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    privacy-needs-resolutionIssue the Privacy Group has raised and looks for a response on.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions