Platform SDK: TAPI

ITAMMediaFormat

The ITAMMediaFormat interface sets and gets DirectShow media format. The format is described using the AM_MEDIA_TYPE structure. This interface is exposed on a Terminal Object only if an MSP is involved in terminal creation and implements this interface.

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.

Methods in Vtable Order

IUnknown Methods

ITAMMediaFormat methods Description
get_MediaFormat Gets the media format.
put_MediaFormat Sets the media format.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

Terminal Object, AM_MEDIA_TYPE structure