Interface IMediaBlockInternals2
- Namespace
- VisioForge.Core.MediaBlocks
- Assembly
- VisioForge.Core.dll
Extended internal interface for MediaBlocks that require post-connection initialization. This interface provides additional lifecycle hooks for blocks that need to perform configuration or setup after their pads have been connected in the pipeline.
public interface IMediaBlockInternals2Methods
PostConnect()
Called after all pad connections have been established for this block. This method allows blocks to perform initialization that depends on knowing the connected blocks or negotiated media formats. Common uses include configuring filters based on input format or setting up dynamic processing chains.
bool PostConnect()Returns
- bool
-
True if post-connection initialization was successful; false if an error occurred.