/// <summary> /// Creates a new instance of SmoothStreamingMediaElementWrapper /// </summary> public SmoothStreamingMediaElementWrapper() { markers = new TimelineMarkerCollection(); base.EnableGPUAcceleration = true; base.LogReady += SmoothStreamingMediaElement_LogReady; base.SeekCompleted += SmoothStreamingMediaElement_SeekCompleted; templateAppliedTaskSource = new TaskCompletionSource<object>(); base.MediaOpened += SmoothStreamingMediaElementWrapper_MediaOpened; }
/// <summary> /// Creates a new instance of SmoothStreamingMediaElementWrapper /// </summary> public SmoothStreamingMediaElementWrapper() { markers = new TimelineMarkerCollection(); base.EnableGPUAcceleration = true; base.LogReady += SmoothStreamingMediaElement_LogReady; base.SeekCompleted += SmoothStreamingMediaElement_SeekCompleted; templateAppliedTaskSource = new TaskCompletionSource <object>(); base.MediaOpened += SmoothStreamingMediaElementWrapper_MediaOpened; }
public MarkerHelper() { Markers = new TimelineMarkerCollection(); }