- Timestamp:
- Jan 17, 2008 5:29:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/users/nanang/pjsip-apps/src/samples/siprtp.c
r1670 r1698 1006 1006 pjmedia_sdp_media *m; 1007 1007 pjmedia_sdp_attr *attr; 1008 pjmedia_ transport_udp_info tpinfo;1008 pjmedia_sock_info tpinfo; 1009 1009 struct media_stream *audio = &call->media[0]; 1010 1010 … … 1013 1013 1014 1014 /* Get transport info */ 1015 pjmedia_transport_ udp_get_info(audio->transport, &tpinfo);1015 pjmedia_transport_get_info(audio->transport, &tpinfo); 1016 1016 1017 1017 /* Create and initialize basic SDP session */ … … 1047 1047 /* Standard media info: */ 1048 1048 m->desc.media = pj_str("audio"); 1049 m->desc.port = pj_ntohs(tpinfo. skinfo.rtp_addr_name.ipv4.sin_port);1049 m->desc.port = pj_ntohs(tpinfo.rtp_addr_name.ipv4.sin_port); 1050 1050 m->desc.port_count = 1; 1051 1051 m->desc.transport = pj_str("RTP/AVP");
Note: See TracChangeset
for help on using the changeset viewer.