Managed DirectShow Programming Reference

CameraSource Members

CameraSource overview

Public Static Properties

VideoCaptureDevicesGets a collection of Monikers representing the capture devices installed on the current system.
AudioCaptureDevicesGets a collection of Monikers representing the capture devices installed on the current system.

Public Instance Constructors

CameraSource Overloaded. Initializes a new instance of the CameraSource class.

Public Instance Properties

AudioCaptureGets or sets the Moniker representing the audio capture device to be used, a null reference if one should be automatically selected.
Container (inherited from Component)Gets the IContainer that contains the Component.
Site (inherited from Component)Gets or sets the ISite of the Component.
UseAudioGets or sets the a value indicating whether audio should be rendered along with the video.
VideoCaptureGets or sets the Moniker representing the capture device to be used, a null reference if one should be automatically selected.

Public Instance Methods

CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Run (inherited from GraphComponentBase)Runs the graph.
ShowPropertiesDialogDisplays the propeties dialog for the video capture device.
Stop (inherited from GraphComponentBase)Stops the graph.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Instance Events

Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
Error (inherited from GraphComponentBase)Occurs when there is an error in the asyncronous stream processing.

Protected Instance Properties

CanRaiseEvents (inherited from Component)Gets a value indicating whether the component can raise an event.
DesignMode (inherited from Component)Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.
Manager (inherited from GraphComponentBase)Gets the FilterGraphManager managed by this component.

Protected Instance Methods

DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
InitializeGraph (inherited from GraphComponentBase)Initializes the graph.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
OnError (inherited from GraphComponentBase)Raises the Error event.
OnRenderAdds capture filter to the graph and connects them.
OnRun (inherited from GraphComponentBase)When overridden in a base class, performs any graph setup needed before the graph is started.
OnStop (inherited from GraphComponentBase)When overridden in a base class, performs any graph clean up needed after the graph is stopped.

See Also

CameraSource Class | KvTv.DirectShow.Components Namespace