Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expecting input should only turn on microphone if via microphone #2166

Merged
merged 3 commits into from
Jul 10, 2019

Conversation

compulim
Copy link
Contributor

@compulim compulim commented Jul 10, 2019

Fixes #2022.

Changelog Entry

Description

Please follow this table to determines when microphone should turn on based on activity.inputHint.

Input hint Previously via Should turn on microphone
Expecting input Microphone Yes
Expecting input Keyboard No
Accepting input Microphone No
Accepting input Keyboard No
Ignoring input Microphone No, should explictly turn off
Ignoring input Keyboard No, should explictly turn off
Undefined Microphone No
Undefined Keyboard No

Specific Changes

  • Modified speakActivityAndStartDictateOnIncomingActivityFromOthersSaga.js to only turn on microphone if inputHint === expectingInput and previously on microphone
  • Removed a test from __tests__/speech.js because of behavior change and is covered by new test

  • Testing Added

@compulim compulim merged commit d1b9b97 into microsoft:master Jul 10, 2019
@compulim compulim deleted the fix-expecting-input branch July 10, 2019 21:20
compulim added a commit that referenced this pull request Jul 10, 2019
* Expecting input should only turn on microphone if via microphone

* Update entry

* Remove a test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InputHint not respected by WebChat in speech scenarios
2 participants