Changeset 1860 for pjproject/trunk/pjsip-apps/src/samples/siprtp.c
- Timestamp:
- Mar 11, 2008 9:38:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r1780 r1860 1006 1006 pjmedia_sdp_media *m; 1007 1007 pjmedia_sdp_attr *attr; 1008 pjmedia_ sock_info tpinfo;1008 pjmedia_transport_info tpinfo; 1009 1009 struct media_stream *audio = &call->media[0]; 1010 1010 … … 1048 1048 /* Standard media info: */ 1049 1049 m->desc.media = pj_str("audio"); 1050 m->desc.port = pj_ntohs(tpinfo. rtp_addr_name.ipv4.sin_port);1050 m->desc.port = pj_ntohs(tpinfo.sock_info.rtp_addr_name.ipv4.sin_port); 1051 1051 m->desc.port_count = 1; 1052 1052 m->desc.transport = pj_str("RTP/AVP");
Note: See TracChangeset
for help on using the changeset viewer.