// Receive the request from the MediaElement and map it to how it should be handled in the source

        private void HandleVideoPlayerMediaOpened(Object sender, RoutedEventArgs e)
        {
            if (_receiver != null)
            {
                _receiver.NotifyDurationChange(VideoPlayer.NaturalDuration.TimeSpan);
                _receiver.NotifyLoadedMetadata();
            }
        }
 private void dmrVideo_MediaOpened(object sender, RoutedEventArgs e)
 {
     if (IsReceiverStarted)
     {
         receiver.NotifyLoadedMetadata();
         receiver.NotifyDurationChange(dmrVideo.NaturalDuration.TimeSpan);
         if (IsPlayReceivedPreMediaLoaded == true)
         {
             dmrVideo.Play();
         }
     }
 }