Quantcast
Channel: Developer Group
Viewing all articles
Browse latest Browse all 1888

Forum Post: Endpoint address in IPMEV_NOTIFY_ENDPOINTID events always has a zero value

$
0
0
I'm using HMP 3.0 SU367 and enable IPMEV_NOTIFY_ENDPOINTID events by using ipm_EnableEvents with the EVT_ENDPOINTID_NOTIFY bitmask. The IPM_ENDPOINTID_INFO data that comes with IPMEV_NOTIFY_ENDPOINTID events occur as expected (with the initial received RTP packet in a call and on SIP re-INVITE's) but the ucIPAddress[0] and unPortId values are always zero; however all the other values are verified as valid (SSRC, payload type, payload size, sequence number, timestamp) and correct. Is that expected, a bug or something I'm missing? Its also a little unclear from the documentation (ip_media_api_hmp_v16.pdf) how to interpret the ucIPAddress value (defined as unsigned char ucIPAddress[IP_ADDR_SIZE]). The example code in the documentation (p106) shows that the value is to be cast as an unsigned long, placed in a in_addr structure and converted to a string using inet_ntoa. Yet in other places in the IPM library the address is a cIPAddress[IP_ADDR_SIZE] and interpreted directly as a zero terminated string. Is the documentation correct?

Viewing all articles
Browse latest Browse all 1888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>