private void dmrVideo_RateChanged(object sender, Windows.UI.Xaml.Media.RateChangedRoutedEventArgs e) { if (IsReceiverStarted) { receiver.NotifyRateChange(dmrVideo.PlaybackRate); } }
void player_RateChanged(object sender, RateChangedRoutedEventArgs e) { player.IsThumbnailVisible = (player.IsScrubbing || player.PlaybackRate <= -1 || player.PlaybackRate > 1); }
private void VideoPlayer_RateChanged(object sender, RateChangedRoutedEventArgs e) { if (this.receiver != null) { this.receiver.NotifyRateChange(this.VideoPlayer.PlaybackRate); } }
void mediaPlayer_RateChanged(object sender, RateChangedRoutedEventArgs e) { if (!mediaPlayer.IsScrubbing) { if (playbackRate != mediaPlayer.PlaybackRate) // this prevents playback rate changes due to finishing a scrub. { playbackRate = mediaPlayer.PlaybackRate; if (PlaybackRateChanged != null) PlaybackRateChanged(this, EventArgs.Empty); } } }
private void RemoteVideo_RateChanged(object sender, RateChangedRoutedEventArgs e) { System.Diagnostics.Debug.WriteLine("RemoteVideo_RateChanged"); }