diff --git a/index.bs b/index.bs
index 15694a5..d969dbc 100644
--- a/index.bs
+++ b/index.bs
@@ -120,6 +120,8 @@ This does not preclude adding support for this as a future API enhancement, and
The user agent may also give the user a longer explanation the first time speech input is used, to let the user know what it is and how they can tune their privacy settings to disable speech recording if required.
To mitigate the risk of fingerprinting, user agents MUST NOT personalize speech recognition when performing speech recognition on a {{MediaStreamTrack}}.
+
+ To mitigate micro-architectural timing attacks and hardware fingerprinting, user agents may reduce the resolution of {{SpeechRecognitionResult/audioStartTime}} and {{SpeechRecognitionResult/audioEndTime}} or introduce jitter, in accordance with the user agent's security and privacy policies (similar to [[HR-TIME-3]] and [[HTML]]).
Implementation considerations
@@ -258,6 +260,8 @@ interface SpeechRecognitionResult {
readonly attribute unsigned long length;
getter SpeechRecognitionAlternative item(unsigned long index);
readonly attribute boolean isFinal;
+ readonly attribute double audioStartTime;
+ readonly attribute double audioEndTime;
};
// A collection of responses (used in continuous mode)
@@ -356,6 +360,16 @@ interface SpeechRecognitionPhrase {
+SpeechRecognitionResult Attributes
+
+
+ - audioStartTime attribute
+ - A {{double}} representing the start time of the audio segment corresponding to this recognition result, in seconds relative to the start of the audio stream consumed by the speech recognizer.
+
+ - audioEndTime attribute
+ - A {{double}} representing the end time of the audio segment corresponding to this recognition result, in seconds relative to the start of the audio stream consumed by the speech recognizer.
+
+
The group has discussed whether WebRTC might be used to specify selection of audio sources and remote recognizers.
See Interacting with WebRTC, the Web Audio API and other external sources thread on public-speech-api@w3.org.