Skip to content

Commit

Permalink
Update to SDK version 15.9.29
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-miniailov committed May 8, 2024
1 parent f851301 commit c8cf0eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ private async void btSearch_Click(object sender, EventArgs e)

_onvifDiscoveryX.OnDeviceFound += async (senderx, args) =>

Check warning on line 29 in Media Blocks SDK/WinForms/CSharp/RTSP MultiView Demo/ONVIFDiscovery.cs

View workflow job for this annotation

GitHub Actions / build

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 29 in Media Blocks SDK/WinForms/CSharp/RTSP MultiView Demo/ONVIFDiscovery.cs

View workflow job for this annotation

GitHub Actions / build

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 29 in Media Blocks SDK/WinForms/CSharp/RTSP MultiView Demo/ONVIFDiscovery.cs

View workflow job for this annotation

GitHub Actions / build

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 29 in Media Blocks SDK/WinForms/CSharp/RTSP MultiView Demo/ONVIFDiscovery.cs

View workflow job for this annotation

GitHub Actions / build

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Check warning on line 29 in Media Blocks SDK/WinForms/CSharp/RTSP MultiView Demo/ONVIFDiscovery.cs

View workflow job for this annotation

GitHub Actions / build

This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
{
Invoke(() =>
Invoke((Action)(() =>
{
cbSources.Items.Add(args.Address);

if (cbSources.Items.Count == 1)
{
cbSources.SelectedIndex = 0;
}
});
}));
};
_onvifDiscoveryX.Start();
}
Expand Down

0 comments on commit c8cf0eb

Please sign in to comment.