Skip to content

Commit

Permalink
修复在添加直播间窗口勾选直接录制的时候,如果网络不好可能造成UI卡住的问题;升级VLC组件到3.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
CHKZL committed Feb 25, 2025
1 parent df703ef commit 54a1d3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Desktop/Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="LibVLCSharp.WPF" Version="3.9.0" />
<PackageReference Include="LibVLCSharp.WPF" Version="3.9.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2535.41" />
<PackageReference Include="Net.Codecrete.QrCodeGenerator" Version="2.0.5" />
Expand Down
5 changes: 4 additions & 1 deletion Desktop/Views/Windows/AddRoom.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,13 @@ private void AddRoomSave_Click(object sender, RoutedEventArgs e)
}
else
{
string roomid = string.Empty;
Dispatcher.Invoke(() =>
{
State = Core.RuntimeObject._Room.AddRoom(_IsAutoRec, _IsRemind, _IsDanmu, 0, long.Parse(RoomId_TextBox.Text), false).State;
roomid = RoomId_TextBox.Text;
});
State = Core.RuntimeObject._Room.AddRoom(_IsAutoRec, _IsRemind, _IsDanmu, 0, long.Parse(roomid), false).State;

}


Expand Down

0 comments on commit 54a1d3a

Please sign in to comment.