The following attributes are supported by the LEAD Video Callback Transform through the
(Write-only) Sets the callback object pointer. If not NULL, the
ReceiveProc method of this interface is called with every audio buffer.
Set to NULL (or to
Nothing in VB) if you do not wish to receive notifications anymore. (For example, before you delete (release) the callback object interface).
This attribute can also be accessed through the method
put_ReceiveProcObj using the transform interface.
Enables or disables the calling of the
CallbackProc notifications in the same thread that set the
ReceiveProcObj property. The default value is
This attribute can also be accessed through the property
CallInSameThread using the transform interface.
Possible values are:
|TRUE||Call the notifications in the same thread that set the callback. This reduces the performance and requires the application to process messages, otherwise the callback will not get called. It is the default and is required for platforms that have problem with multithreading. VB 6.0 and dotnet applications should use this mode.|
|FALSE||Call the notifications in any thread of the process. Use this setting for best performance in platforms that can handle this. This is the recommended mode for C++ applications.|
For more information on how to use the Transform Attributes, refer to Using Media Foundation Transform Attributes.