public sealed abstract class PreferredMediaSourceHandlers
public ref class Constants.PreferredMediaSourceHandlers abstract sealed
The constants in this class are designed to be used with the following methods:
using Leadtools;
using Leadtools.MediaFoundation;
using LeadtoolsMediaFoundationExamples.Fixtures;
public bool _result = false;
public PlayCtrlForm _form = new PlayCtrlForm();
public void PlayerPreferredMediaSourceHandlersExample()
{
PlayCtrl playctrl = _form.PlayCtrl;
try
{
// set the preferred ISO(MP4) media source handler to the LEAD default (which is the LEAD ISO Media Source handler)
playctrl.SetPreferredMediaSourceHandler(PreferredMediaSourceHandler.ISO, Constants.PreferredMediaSourceHandlers.LEADDefault);
// the default ISO(MP4) media source handler should be the LEAD ISO(MP4) media source handler now
_result = (string.Compare(playctrl.GetPreferredMediaSourceHandler(PreferredMediaSourceHandler.ISO),
Constants.PreferredMediaSourceHandlers.ISO, true) == 0);
}
catch (Exception)
{
_result = false;
}
}
Constants.PreferredMediaSourceHandlers Members
Leadtools.MediaFoundation Namespace
GetPreferredMediaSourceHandler Method
SetPreferredMediaSourceHandler Method
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document