Yes, you can use an application-hosted media bot to record meeting audio. The updateRecordingStatus
endpoint is used to start or stop recording. However, the presence of a compliance policy is not a requirement for the bot to join the call and record audio.
To get the bot to join the call independently from the presence of a compliance policy, you can follow these steps:
- Register your bot and specify the required permissions and settings in the Teams app manifest. Make sure to include the
supportsCalling
andsupportsVideo
settings. - Use the Microsoft.Graph.Communications.Calls.Media.NET library to access the audio and video media streams. This library provides the necessary APIs for real-time media processing.
- Deploy your bot on a Windows Server machine or a Windows Server guest OS in Azure. This is required for the bot to handle the media streams.
- Implement the logic in your bot to join the call and start recording the audio. You can use the
updateRecordingStatus
endpoint to initiate the recording.
And it is possible to record meeting audio without a user being assigned a compliance policy. The recording functionality of an application-hosted media bot is independent of compliance policies. As long as your bot has the necessary permissions and is able to access the audio stream of the meeting, it can record the audio without any specific compliance policy requirement.
Thanks,
Prasad Das
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.