< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Almost have Invite working, but....



On 2005.12.07, at 05:26 , frank zhao wrote:

As my previous answer for your question.
you should call it like this:
    ...................................................
sdp = new SdpContents(hfv, type); <---- But this is the problem for me.
     sdp->checkParsed();
    ............................................

Additionally, using sprintf and an ASCII representation of your SDP is very poor form and error prone. There are SDP contents methods (more than you can shake a stick at) that will let you programatically define the SDP and the class will take care of the serialization for you.

Alan