Closed mail2mhossain closed 1 year ago
I'm sure other people in the community will be glad to know how you deal with that...
private void _videoSource_OnVideoSourceRawSampleFaster(uint durationMilliseconds, RawImage rawImage) { Bitmap bmpImage = new Bitmap(rawImage.Width, rawImage.Height, rawImage.Stride, PixelFormat.Format24bppRgb, rawImage.Sample); }
I need to convert SIPSorceryMedia.Abstractions.RawImage to System.Drawing.Image to display image in a cross platform app developed in Avalonia.