private static void OnPreviewDataUriCompleteDelegate(IntPtr w, IntPtr videoFrame, LocalWindowShareState state)
        {
            IntPtr n_videoFrame = VidyoLocalWindowShareOnPreviewDataUriCompleteGetvideoFrameCStr(videoFrame);

            if (_mIGetPreviewFrameDataUriAsync != null)
            {
                _mIGetPreviewFrameDataUriAsync.OnPreviewDataUriComplete((string)MarshalPtrToUtf8.GetInstance().MarshalNativeToManaged(n_videoFrame), state);
            }
        }
Example #2
0
 private static void OnPreviewDataUriCompleteDelegate(IntPtr w, IntPtr videoFrame, LocalWindowShareState state)
 {
     if (_mIGetPreviewFrameDataUriAsync != null)
     {
         _mIGetPreviewFrameDataUriAsync.OnPreviewDataUriComplete(Marshal.PtrToStringAnsi(videoFrame), state);
     }
 }