I don't think you read Nanang's answer carefully. He said pjmedia_transport_media_create(), not transport_create or transport_srtp_create. -benny On Wed, May 20, 2009 at 12:43 AM, Ponik Supapupa <spunyk at gmail.com> wrote: > What do you mean? > I already call a transport_create method before i encode sdp, in other case > i could not to create sdp based on transport and of course encode it. > Or dou mean some thing else? > Look, as i previous wrote: > status = pjmedia_transport_srtp_create(med_endpt, udp_transport, > &srtp_settings, &srtp_transport); > and after it i call create_sdp method and after i call > status = pjmedia_transport_encode_sdp(srtp_transport, dialog->pool, sdp, > NULL, media_index); > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090520/b15e0eaa/attachment.html>