We're trying to play a H.264 stream with MediaStreamSource on WP7 emulator. But met with 3100 error with video:
In override method OpenMediaAsync of Mp4MediaStreamSource, videoStreamAttribute VideoFourCC is set as “H264”:
Dictionary<MediaStreamAttributeKeys, string> videoStreamAttributes = new Dictionary<MediaStreamAttributeKeys, string>();
videoStreamAttributes[MediaStreamAttributeKeys.VideoFourCC] = "H264";
this.videoStreamDescription = new MediaStreamDescription(MediaStreamType.Video, videoStreamAttributes);
But GetSampleAsync was not called at all after OpenMediaAsync, MediaElement just return error “3100 An error has occurred”, no more other information. And same error even if we set CodecPrivateData attribute.