202508111757

同步畫面出不來
This commit is contained in:
jasonchenwork 2025-08-11 17:58:19 +08:00
parent fdd8cf047d
commit e175309909
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace DualScreenDemo
private static PrimaryForm primaryForm; // 儲存實例的參考
public static Room room = new Room();
public static string verSion = "Server V2.8 202508111732";
public static string verSion = "Server V2.8 202508111757";
[STAThread]
static void Main()

View File

@ -50,6 +50,7 @@ namespace DualScreenDemo.Services
videoRenderer = AddFilterByClsid(graphBuilder, "Primary Video Renderer", Clsid.VideoRenderer);
hr = graphBuilder.AddFilter(videoRenderer, "Primary Video Renderer");
DsError.ThrowExceptionForHR(hr);
mediaControl = (IMediaControl)graphBuilder;
hr = ConnectFilters(graphBuilder, sourceFilter, "Output", lavSplitter, "Input");
DsError.ThrowExceptionForHR(hr);