This project has moved. For the latest updates, please go here.

Frame delay

Sep 14, 2013 at 4:38 PM

I have built a WP8 application and for some reason there seems to be a delay of approx. 10 seconds between FrameReady events and then I get approx. 10 events at the same time (my URL will give me a new jpg every 1 sec or so).

Running similar code on a PC - WinForms program - gives a FrameReady event every one second.

All internal lan/wifi.

Any suggestions?

Best regards,
Kristian Hastrup Andersen
Sep 15, 2013 at 5:25 PM
I haven't seen that with the cameras I have. What camera are you using it against? Is the WinForms app via LAN while the phone is via WiFi? Or have you tested both against a WiFi connection to rule that out?
Sep 15, 2013 at 8:14 PM
I am connecting to a Raspberry Pi which serves the mjpegs :-) and not directly to a camera.

I have tested both applications against a WiFi connection and the result is as described. All devices are on my internal network.

Sep 15, 2013 at 8:25 PM
Ah, nice. :)

Well, I'm not sure what to suggest...I've run the code here against a couple of MJPEG cams on my WP8 device and it's maintained proper frame rate throughout.

Not really sure what else to suggest!