visioforge / .Net-SDK-s-samples

VisioForge .Net SDKs samples - Video Capture SDK, Video Edit SDK, Media Player SDK, Media Blocks SDK, Video Fingerprinting SDK
https://www.visioforge.com
MIT License
50 stars 24 forks source link

SimpleCapture8 MainPage StartPreview compilation error #22

Closed goatrodeosoftware closed 3 months ago

goatrodeosoftware commented 4 months ago

Line 301 generates this type conversion error: _core.AudioOutputDevice = (await DeviceEnumerator.Shared.AudioOutputsAsync()).Where(device => device.DisplayName == btSpeakers.Text).First(); Cannot implicitly convert type 'VisioForge.Core.Types.X.Output.AudioOutputDeviceInfo' to 'VisioForge.Core.Types.X.AudioRenderers.IAudioRendererSettings'. An explicit conversion exists (are you missing a cast?) SimpleCapture8 (net8.0-android), SimpleCapture8 (net8.0-ios), SimpleCapture8 (net8.0-windows10.0.19041.0) C:\Users\andy\Downloads.Net-SDK-s-samples-master\Video Capture SDK X (crossplatform)\MAUI\SimpleCapture\MainPage.xaml.cs 301 Happy to submit a PR if someone can point me in the right direction

visioforge commented 4 months ago

Hi

Please check the updated code.

We've changed an API (and we're not happy to do that); for some reason, after one of the MAUI updates, we missed it in Actions.

goatrodeosoftware commented 3 months ago

That did the job- thanks.