diff --git a/index.html b/index.html index 240362a..8ded1da 100644 --- a/index.html +++ b/index.html @@ -276,21 +276,30 @@

Methods

these steps.

  • -

    If deviceId is not - "" and matches an id previously exposed by - {{MediaDevices/selectAudioOutput}} in an earlier browsing - session, the user agent MAY decide, based on its previous - decision of whether to persist this id or not for this set - of origins, to run the following sub steps:

    +

    If deviceId is not "" + run the following sub steps:

    1. -

      Let device be the device identified by - deviceId, if available.

      +

      If deviceId matches a + a device id previously exposed by + {{MediaDevices/selectAudioOutput}} in this or an earlier browsing + session, or matches a device id of an audio output device + with the same groupId as an audio input device previously + exposed by {{MediaDevices/getUserMedia()}} in this or an earlier browsing + session, the user agent MAY decide, based on its previous + decision of whether to persist this id or not for this set + of origins, to run the following sub steps:

      +
        +
      1. +

        Let device be the device identified by + deviceId, if available.

        +
      2. +
      3. If device is available, resolve + p with either deviceId or a freshly + rotated device id for device, and abort the + in-parallel steps.

      4. +
    2. -
    3. If device is available, resolve - p with either deviceId or a freshly - rotated device id for device, and abort the - in-parallel steps.

  • [=Prompt the user to choose=] an audio output device, with @@ -344,7 +353,10 @@

    Dictionary AudioOutputOptions Members

    When the value of this dictionary member is not "", and matches the id previously exposed by - {{MediaDevices/selectAudioOutput}} in an earlier session, the user + {{MediaDevices/selectAudioOutput}} or + a device id of an audio output device with the same groupId as an + audio input device previously exposed by + {{MediaDevices/getUserMedia()}} in this or an earlier session, the user agent MAY opt to skip prompting the user in favor of resolving with this id or a new rotated id for the same device, assuming that device is currently available.