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

only receive the first 3 frames on Windows Phone 8.1

description

I am attempting to use the winmd libarary in a universal app and see different outcomes on phone vs. tablet. The Windows Store app successfully streams the mjpeg video, but on phone only the first 3 frames are returned.

I tried running the source code locally to debug and it seems that the call to ReadBytes in OnGetResponse never returns after the first 3 frames are processed.

Any idea why the buffer would continue to return bytes on Windows but not Phone? Is there any additional work I can do to help debug or correct the issue?

Thanks!

comments

celebmor wrote Jan 12, 2015 at 12:42 PM

Still happening, I am plannining on port it to JS make it universal to solve this and maybe improve the perfomance

JosHuybrighs wrote Feb 18, 2015 at 9:10 AM

Late comment but anyhow: For Windows Phone 8.1 the only c# implementation with a HttpClient class that works reliably is the one using the Windows.Web.Http package. This is not the case in MJPEG Decoder.
I therefore modified MJPEG Decoder 1.2 and provided a WinRT only solution for 8.1 on a new CodePlex project called "MJPEG Decoder WinRT". You can find it here.