MediaStreamSink::tCreateData Structure

This structure describes the parameters, which were used to create a MediaStreamSink. You can access the tCreateData of a MediaStreamSink by calling MediaStreamSink::getCreateData, and passing it to MediaStreamSink::create to create a similar MediaStreamSink.
Syntax:
struct tCreateData
{
    tCreateData( const tMediaStreamContainerPtr& pCont, IFrameFilter* pCB = 0 );
    tCreateData( const tMediaStreamContainerPtr& pCont, const GUID& subtype, IFrameFilter* pFilter = 0 );
    tCreateData( const tMediaStreamContainerPtr& pCont, const smart_ptr<Codec>& pCodec, IFrameFilter* pFilter = 0 );
    tCreateData( const tMediaStreamContainerPtr& pCont, const tFrameFilterList& lst );
    tCreateData( const tMediaStreamContainerPtr& pCont, const GUID& subtype, const tFrameFilterList& lst );
    tCreateData( const tMediaStreamContainerPtr& pCont, const smart_ptr<Codec>& pCodec, const tFrameFilterList& lst );

    tCreateData( const GUID& cont_id, IFrameFilter* pCB = 0 );
    tCreateData( const GUID& cont_id, const GUID& subtype, IFrameFilter* pFilter = 0 );
    tCreateData( const GUID& cont_id, const smart_ptr<Codec>& pCodec, IFrameFilter* pFilter = 0 );

    tCreateData& operator=( const tCreateData& op2 );

    tMediaStreamContainerPtr m_pContainer;
    GUID                     m_ContainerID;
    smart_ptr<Codec>         m_pCodec;
    GUID                     m_Subtype;
    tFrameFilterList         m_filterChain;
};

Value Description
m_pContainer

The selected MediaStreamContainer.

m_ContainerID

The GUID of the selected MediaStreamContainer.

m_pCodec

The selected Codec, if a codec is used, otherwise 0.

m_Subtype

The selected subtype of uncompressed video, the video data is saved uncompressed; otherwise GUID_NULL.

m_filterChain

A chain of IFrameFilters.

<< MediaStreamSink