Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
WFP APP UNRESPONSIVE,GETTING STRUCT
posted

Hi There,

i am developing an application which has 5 ip cameras ,each camera has 30 fps. i have bounded each camera to image source.videos are very clear.

but application is getting unresponsive.  i am attaching some code where actual massive processing is done.for every image dec_frameready1 is fired

since camera has 30 fps for every second this event is fired 30 times. for 5 cameras means five such diff events

 void  dec_FrameReady1(object sender,ImageReadyEventArsgs args)
        {

            Thread thr1 = new Thread(() => UpDateImage1(args.Image));
            thr1.Start();


        }

        public void UpDateImage1(BitmapImage img)
        {
            if (imgStream1.Dispatcher.CheckAccess())
            {
                // The calling thread owns the dispatcher, and hence the UI element
                imgStream1.Source = img;
            }
            else
            {
                imgStream1.Dispatcher.Invoke(delegate() { UpDateImage1(img); }, DispatcherPriority.Render);
            }
            
        }

  • 22015
    posted

    Hello Mohammed,

     

    Thank you for contacting Infragistics!

     

    I have been looking into your issue and it seems that I am missing something from your scenario. Would you please provide me with more detailed information on the Infragistics controls, that you are using and how are they connected with the issue you have mentioned in this thread?

    Having this information would help me further investigate this matter for you.

     

    Looking forward to hearing from you.