IRTPRPHFilter::GetPayloadType

[This is preliminary documentation and subject to change.]

Get the RTP payload type which is in the PT field in the RTP packet header.

HRESULT GetPayloadType(
  BYTE *lpbPayloadType
);
 

Parameters

lpbPayloadType
[out] Pointer to the variable which will be initialized with the current payload type identifier.

Return Values

E_POINTER
The lpbPayloadType is not a valid pointer.
NOERROR
The RTP payload type is returned successfully.