IRTCSessionStateChangeEvent2::get_RemotePreferredSecurityLevel
The get_RemotePreferredSecurityLevel method returns the security level for the audio/video or T120 media stream encryption. This method is intended for sessions of type RTCST_PC_TO_PC in the RTCSS_INCOMING session state.
HRESULT get_RemotePreferredSecurityLevel(RTC_SECURITY_TYPEenSecurityType,
RTC_SECURITY_LEVEL*penSecurityLevel);
Parameters
- enSecurityType
[in] An RTC_SECURITY_TYPE enumeration containing the type of media that is encrypted. - penSecurityLevel
[out] Pointer to an RTC_SECURITY_LEVEL enumeration containing the encryption level.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
RTC_E_INVALID_OBJECT_STATE | The reinvite session is not in the incoming state. |
Requirements
Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCSessionStateChangeEvent2 is defined as 4F933171-6F95-4880-80D9-2EC8D495D261.
See Also
IRTCSessionStateChangeEvent2, RTC_SECURITY_TYPE, RTC_SECURITY_LEVEL, Security