Platform SDK: Broadcast Architecture

Reinitializing the Filter Graph

Broadcast clients use DirectShow filters to process data streams in order to receive, decode, and present audio and video. The filters are coordinated together in a filter graph. The Video Access server passes information from this filter graph to video clients, such as the Video control and applications, which use the Video control.

If your application changes the current hardware configuration, for example when a setup application configures a newly installed device, it may need to reinitialize the filter graph. To stop and recreate the filter graph, your application can use the BPCVid.ReInit method provided by the Video control.

Because several applications may be relying on data from the filter graph when a video client requests the filter graph be reinitialized, the Video Access server coordinates the client applications to ensure all are ready for reinitialization. The Video Access server does this by sending BPCVid.StateChange events to its clients. These events specify changes in the initialization status of the filter graph.

For more detailed information about this process, see the reference topic for BPCVid.ReInit.