Microsoft.PlayerFramework.Adaptive.HLS.HLSPlugin.MediaPlayer_MediaLoading C# (CSharp) 메소드

MediaPlayer_MediaLoading() 개인적인 메소드

Occurs just before the MMPPF MediaPlayer source is set, cancel any closed caption downloads for the current video.
private MediaPlayer_MediaLoading ( object sender, MediaPlayerDeferrableEventArgs e ) : void
sender object MMPPF media player.
e MediaPlayerDeferrableEventArgs Loading data.
리턴 void
    private void MediaPlayer_MediaLoading(object sender, MediaPlayerDeferrableEventArgs e)
    {
      if (null != this._WebVTTCaptions)
      {
        this._WebVTTCaptions.Cancel();
        this._WebVTTCaptions = null;
      }
    }