ITMedia 介面

[ Rendezvous IP Telephony Conferencing Controls and interface not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. RTC 用戶端 API 提供類似的功能。]

ITMedia介面是會話描述項通訊協定 (SDP 中的媒體標記法,請參閱 RFC 2327) 。 此介面會匯出方法來取得和設定基本媒體屬性,例如類型。 ITMediaCollection::get_ItemITMediaCollection::Create方法會建立ITMedia介面。

成員

ITMedia介面繼承自IDispatch介面。 ITMedia 也有下列類型的成員:

方法

ITMedia介面具有這些方法。

方法 Description
get_FormatCodes 取得媒體承載格式代碼的清單。
get_MediaName 取得媒體名稱。
get_MediaTitle 取得媒體標題。
get_NumPorts 取得會話所需的埠數目。
get_StartPort 取得第一個埠的 16 位埠值。
get_TransportProtocol 取得傳輸通訊協定。
put_FormatCodes 設定媒體承載格式代碼的清單。
put_MediaName 設定媒體名稱。
put_MediaTitle 設定媒體標題。
put_TransportProtocol 設定傳輸通訊協定。
SetPortInfo 設定第一個埠的 16 位埠值,以及會話所需的埠數目。

規格需求

需求
TAPI 版本
需要 TAPI 3.0 或更新版本
標頭
Sdpblb.h
程式庫
Uuid.lib
DLL
Sdpblb.dll

另請參閱

IDispatch

ITMediaCollection

ITSDP

ITTime