-
Notifications
You must be signed in to change notification settings - Fork 198
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
501 Unsupported Error when using requestAppAudioHandling #2488
Comments
Thanks for reporting your issue. |
@Tryptophan - It looks like you're encountering the SDK error 501 API is not supported in current context error when trying to use the requestAppAudioHandling method in the meeting namespace. This error typically indicates that the API you're trying to use is not supported in the current context of your application. Ensure that the API is available and supported in the context you're using. Some APIs might only be available in specific contexts or environments. Also refer this sample-https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/meetings-audio-state/nodejs |
Hi @Tryptophan! Based on the sample code you provided, I assume you are trying to call What host (e.g., Teams, Outlook, etc.) are you trying this code out in and on what platform (web, iOS, etc.)? Are you able to gather logs from your app when reproducing the problem (https://github.com/OfficeDev/microsoft-teams-library-js/wiki/TeamsJS-Logging)? Thanks! |
I am testing this in the teams web client (chrome) with the following versions:
This code is run in a teams tab app in the meeting side panel during a meeting. Is this code meant to be unsupported? I will test the teams native app on Mac OS at some point and let you know my findings, please let me know if you're able to reproduce in this environment or in the native app. |
Thanks for the extra details! Were you able to gather client logs when reproducing the problem? |
Enabling debug logging did not get me any information outside of the error that is sent (same message). I tried on the native client on Mac OS and got a different error though:
Is there a set of permissions required to be added to the manifest for this API? I dont see it documented anywhere. |
Thanks for providing the extra information on the scenario in Mac OS. Are you able to share the client logs? That will help me understand whether the right messages are making it from teamsjs to the host or whether the error is coming from the teamsjs side. |
Hi teams dev team,
I am trying to make use of the
requestAppAudioHandling
method in the meeting namespace, but no matter what I try when running it I get this error:Here's the code I used to reproduce this in a side panel app:
Is there any way I can get this to work? It would be very beneficial to sync mic and device state between teams and my app.
The text was updated successfully, but these errors were encountered: