Jul 05 2021 06:03 PM
Hello.
I'm developing a Teams custom app that translates speech into text by speech recognition. I want to make a web app that converts voice into text available in Teams tabs.
The problem is:
Voice recognition can be performed with personalTab and channelTab, but device access cannot be permitted with privateChatTab, meetingChatTab, and meetingDetailTab, and voice data cannot be acquired. The web version works fine on all tabs.
Please help me.
Jul 14 2021 12:01 AM - edited Jul 14 2021 12:03 AM
Hello @DAICHI_HADAMA ,
We tried to do it at our end and we didn't face any issue on Teams desktop application.
Following are the repro steps from our end -
"context":[
"channelTab",
"privateChatTab",
"meetingChatTab",
"meetingDetailsTab",
"meetingSidePanel",
"meetingStage"
]
Please refer the following doc for further details about specific context :
navigator.permissions.query({name:'microphone'}).then(function(result) {
alert(result.state);
});
navigator.mediaDevices.getUserMedia({ audio: true, video: true })
Thanks,
--------------------------------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.