Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

DiagCode: 3003#7106 .NET Framework 4.8

オープン
#860 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp
領域
backend

調査の方向性

issue に記載されている .NET 6 と .NET Framework 4.8 での再現から始め、CommunicationsClientBuilder.Build() 後の初期化と、ポート 8445 の UDP リスナーの確認を比較します。Microsoft.Skype.Bots.Media 1.31.0.225 のホスティング要件とネイティブランタイム依存関係を確認します。.NET Framework 4.8 がサポートされているかを明らかにすること、サポートされているホスティングパターンを特定すること、または不足している初期化呼び出しがないことを確認することが完了条件です。

索引モデルが issue の本文から書いたものです。

説明

BotMedia SDK native media engine does not bind UDP port under .NET Framework 4.8

SDK Version: Microsoft.Skype.Bots.Media 1.31.0.225
Graph Communications SDK: Latest
OS: Windows Server (x64)
Runtime tested: .NET Framework 4.8 (fails), .NET 6 (works)


Summary

The BotMedia native media engine silently fails to initialize when hosted in a .NET Framework 4.8 process. The UDP media port is never bound, causing Teams to drop the call with DiagCode: 3003#7106 after ~4 seconds. The exact same configuration and code works correctly on .NET 6 on the same machine.


Reproduction Steps
  1. Take a working .NET 6 Teams compliance recording bot (Kestrel, call.AnswerAsync(mediaSession))
  2. Port it to .NET Framework 4.8 using OWIN for HTTP hosting
  3. Keep identical MediaPlatformSettings, AudioSocketSettings, CommunicationsClientBuilder configuration
  4. Run and place a call

Observed Behavior

Signaling works correctly:

  • Webhook received ✅
  • OnIncomingCall fires ✅
  • CreateMediaSession succeeds ✅
  • AnswerAsync completes without exception ✅
  • state=establishing webhook received ✅

But media never starts:

  • UDP port is never bound by the media platform
  • Teams drops call after ~4 seconds with DiagCode: 3003#7106
  • AudioMediaReceived event never fires
  • 0 bytes recorded

Confirmed via UDP listener check immediately after builder.Build():

[DIAG] UDP 8445 is NOT bound - media platform silently failed!
[DIAG] All UDP ports bound by this process: (none in range 8000-9000)

Same check on .NET 6 version:

[DIAG] UDP 8445 IS bound on 0.0.0.0 - media platform OK

MediaPlatformSettings (identical in both versions)
var mediaPlatformSettings = new MediaPlatformSettings
{
    ApplicationId = APP_ID,
    MediaPlatformInstanceSettings = new MediaPlatformInstanceSettings
    {
        ServiceFqdn             = "bot.example.com",
        CertificateThumbprint   = CERT_THUMBPRINT,
        InstanceInternalPort    = 8445,
        InstancePublicIPAddress = IPAddress.Parse("x.x.x.x"),
        InstancePublicPort      = 8445,
    }
};

var builder = new CommunicationsClientBuilder("PolicyRecordingBot", APP_ID, logger);
builder.SetAuthenticationProvider(authProvider);
builder.SetNotificationUrl(notificationUri);
builder.SetMediaPlatformSettings(mediaPlatformSettings);
builder.SetServiceBaseUrl(new Uri("https://graph.microsoft.com/v1.0"));

var client = builder.Build();

Error Codes Observed
Condition DiagCode
UDP not bound (pure media failure) 3003#7106
SDK throws during answer processing 500#1203003

The BotMedia SDK ships native C++ DLLs that appear to depend on the .NET Core runtime hosting APIs (coreclr.dll) for initialization. When loaded into a .NET Framework 4.8 process, the native media engine silently fails to start — no exception is thrown, no error is logged, but the UDP port is never bound and no media is processed.


Questions
  1. Is Microsoft.Skype.Bots.Media officially supported on .NET Framework 4.8, or is .NET Core / .NET 6+ a hard requirement?
  2. Is there a supported way to host the BotMedia SDK inside a .NET Framework 4.8 process?
  3. If .NET Framework 4.8 is not supported, is out-of-process hosting (separate .NET 6 executable communicating via IPC) the recommended integration pattern for mixed-runtime environments?
  4. Is there any initialization API we should be calling explicitly to start the media platform that we may be missing?

主要言語
言語のデータがありません
スター
252
フォーク
276
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoftgraph/microsoft-graph-comms-samples のほかの issue

microsoftgraph/microsoft-graph-comms-samples の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。