# RTP IPv4 endpoint address structure

When the endpoint type is MSP_ENDPOINT_RTPFDX, MSP_ENDPOINT_RTPIN, or MSP_ENDPOINT_RTPOUT, the application provides the following endpoint address information:

typedef struct tag_RTPRTCP_ENDPOINT_ADDR
{
char DestIpAddress[20];
WORD nDestPort;
char SrcIpAddress[20];
WORD nSrcPort;
} RTPRTCP_ENDPOINT_ADDR;

## RTPRTCP_ENDPOINT_ADDR

#### Dependent function: mspCreateEndpoint

Field | Type | Default | Units | Description
DestIpAddress[20] | IPADDRESS | N/A | N/A | Destination IPv4 address in dot notation. NULL for RTP simplex receive (MSP_ENDPOINT_RTPIN ) endpoints.
nDestPort | WORD | N/A | N/A | Destination port number. NULL for RTP simplex receive (MSP_ENDPOINT_RTPIN) endpoints.
SrcIpAddress[20] | IPADDRESS | N/A | N/A | Source IPv4 address in dot notation. RTP simplex send (MSP_ENDPOINT_RTPOUT) endpoints.
nSrcPort | WORD | N/A | N/A | Source port number. NULL for RTP simplex SEND (MSP_ENDPOINT_RTPOUT) endpoints.