Platforms to show: All Mac Windows Linux Cross-Platform
DirectShowMediaControlMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
It includes methods for running, pausing, and stopping the graph. The Filter Graph Manager implements this interface.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- 7 methods
- method Constructor Private
- method GetState(msTimeout as Integer = -1) as Integer
- method Pause
- method RenderFile(FilePath as string)
- method Run
- method Stop
- method StopWhenReady
- 3 constants
State Constants
Constant | Value | Description |
---|---|---|
kStatePaused | 1 |
Paused |
kStateRunning | 2 |
Running |
kStateStopped | 0 |
Stopped. |
This class has no sub classes.
Some methods using this class:
- DirectShowGraphBuilderMBS.MediaControl as DirectShowMediaControlMBS
Some examples using this class:
- /Win/DirectShow/PlayCap
- /Win/DirectShow/PlayCap with format settings
- /Win/DirectShow/PlayCap with frame grabber
- /Win/DirectShow/PlayCap with frame grabber event
- /Win/DirectShow/Select and Capture
- /Win/DirectShow/Select and Capture with Audio
The items on this page are in the following plugins: MBS Win Plugin.
DirectShowGUIDMBS - DirectShowMediaEventExMBS