Changeset 5311 for pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c
- Timestamp:
- May 20, 2016 4:17:00 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/vid_streamutil.c
r4815 r5311 348 348 pjmedia_vid_stream *stream = NULL; 349 349 pjmedia_port *enc_port, *dec_port; 350 char addr[PJ_INET_ADDRSTRLEN]; 350 351 pj_status_t status; 351 352 … … 860 861 else if (dir == PJMEDIA_DIR_ENCODING) 861 862 printf("Stream is active, dir is send-only, sending to %s:%d\n", 862 pj_inet_ntoa(remote_addr.sin_addr), 863 pj_inet_ntop2(pj_AF_INET(), &remote_addr.sin_addr, addr, 864 sizeof(addr)), 863 865 pj_ntohs(remote_addr.sin_port)); 864 866 else … … 866 868 "sending to %s:%d\n", 867 869 local_port, 868 pj_inet_ntoa(remote_addr.sin_addr), 870 pj_inet_ntop2(pj_AF_INET(), &remote_addr.sin_addr, addr, 871 sizeof(addr)), 869 872 pj_ntohs(remote_addr.sin_port)); 870 873
Note: See TracChangeset
for help on using the changeset viewer.