Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi @CG
Thank you for posting your question in the Microsoft Q&A forum.
The BotMedia SDK (Microsoft.Skype.Bots.Media) targets net472, which includes .NET Framework 4.7.2 and later versions such as .NET Framework 4.8. Therefore, .NET Framework 4.8 is within the supported target framework range. This can be confirmed on the NuGet package page: NuGet Gallery | Microsoft.Skype.Bots.Media 1.33.0.258-preview.
This information is provided as a convenience to you. These sites are not controlled by Microsoft, and Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please ensure that you fully understand the risks before using any suggestions from the above link.
While .NET Framework 4.8 is supported from a targeting perspective, most current samples and production deployments use .NET 6+, which is the modern and recommended runtime.
There is no Microsoft documentation prohibiting hosting the Media SDK inside a .NET Framework 4.8 process. However, you must comply with the application-hosted media bot constraints:
-Must run on Windows Server.
-Must run in supported Azure hosting models (VM, VMSS, Service Fabric, AKS).
-Cannot run as Azure Web App.
-Must have public internet accessibility.
-Must allow required UDP port ranges.
Although .NET Framework is supported within the target framework range, out-of-process hosting (for example, running the media stack as a dedicated .NET 6 service and integrating via IPC) is a commonly adopted production architecture in mixed-runtime systems. Microsoft does not mandate this pattern explicitly, but it aligns with their guidance that media bots are resource-intensive, calls are pinned to a single machine, and media services should scale and operate independently.
Reference: Build Application-hosted Media Bots - Teams | Microsoft Learn.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.