/// <summary>
 /// Accepts new entries for aggregating
 /// </summary>
 /// <param name="entry">The new smoothstreamingevent to process</param>
 public virtual void ProcessEvent(SmoothStreamingEvent entry)
 {
     if (entry is MarkerEvent)
     {
         isPlayingVideo = !(entry is MarkerEventStop);
         sampleSizeAggregator.Enqueue(entry);
     }
 }
        public override void ProcessEvent(SmoothStreamingEvent entry)
        {
            base.ProcessEvent(entry);

            if (entry.EventType == EventType.DownloadError)
            {
                string key = entry.Data1 + "." + entry.Data2;
                if (!aggregators.ContainsKey(key))
                {
                    AddAggregator(key);
                }

                SampleEventAggregator agg = aggregators[key];
                agg.Enqueue(entry);
            }
        }