ITAMMediaFormat interface (tapi3.h)
The ITAMMediaFormat interface sets and gets DirectShow media format. The format is described using the AM_MEDIA_TYPE structure. For more information on AM_MEDIA_TYPE, see the DirectX documentation. This interface is exposed on a Terminal Object only if an MSP is involved in terminal creation and implements this interface. The ITAMMediaFormat interface is created by calling QueryInterface on ITTerminal.
On addresses where a variety of formats are supported (such as Wave MSP addresses, which are used on most modems and voice boards), this media format must be set or the terminal will not be able to connect.
For other addresses, such as those implemented over IP, the format may be fixed/predetermined. In that case, a call to set format will fail if the format is not the same as the predetermined format.
Inheritance
The ITAMMediaFormat interface inherits from the IUnknown interface. ITAMMediaFormat also has these types of members:
Methods
The ITAMMediaFormat interface has these methods.
ITAMMediaFormat::get_MediaFormat The ITAMMediaFormat::get_MediaFormat (tapi3.h) method gets the media format. |
ITAMMediaFormat::put_MediaFormat The ITAMMediaFormat::put_MediaFormat (tapi3.h) method sets the media format. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3.h (include Tapi3.h) |