コード例 #1
0
 //
 // Summary:
 //     Developers call this method in response to System.Windows.Media.MediaStreamSource.SwitchMediaStreamAsync(System.Windows.Media.MediaStreamDescription)
 //     to inform the System.Windows.Controls.MediaElement that the System.Windows.Media.MediaStreamSource
 //     has completed the requested stream switch and that samples returned will
 //     now be from the requested stream instead of the original stream. Note, that
 //     this is meant for the multiple audio stream case, for example language tracks,
 //     and not the adaptive streaming case.
 //
 // Parameters:
 //   mediaStreamDescription:
 //     The description of the stream actually switched to. This should be the same
 //     stream as what was requested by System.Windows.Media.MediaStreamSource.SwitchMediaStreamAsync(System.Windows.Media.MediaStreamDescription).
 protected void ReportSwitchMediaStreamCompleted(MediaStreamDescription mediaStreamDescription)
 {
     //_service.ReportSwitchMediaStreamCompleted(mediaStreamDescription);
 }
コード例 #2
0
 //
 // Summary:
 //     Called when a stream switch is requested on the System.Windows.Controls.MediaElement.
 //
 // Parameters:
 //   mediaStreamDescription:
 //     The stream switched to.
 public abstract void SwitchMediaStreamAsync(MediaStreamDescription mediaStreamDescription);
コード例 #3
0
 public override void SwitchMediaStreamAsync(MediaStreamDescription mediaStreamDescription)
 {
     throw new NotImplementedException();
 }