Silverlight MediaElement requires many H.264 frames to render one image -
i working on silverlight application implements custom mediastreamsource feeding mediaelement elementary h.264 nal units. stream starts off key frame, noticed on average takes 20 frames render 1 image. have gop size set 8 on h.264 encoder. video coming security camera , being viewed in live stream application.
the main issue induces decent amount of latency between when events happen in real life , when image rendered. small latency expected, turns out 3 seconds receiving first frame until first image rendered. shouldn't first key frame theoretically contain enough information decode image? testing have sample silverlight application loads captured h.264 stream file , internally buffers entire file, way once mediastreamsource opens, consumes ~20 frames , renders image virtually no latency.
any microsoft / silverlight / h.264 experts care elaborate on why might possibly happening?