Re: [reSIProcate] How do I obtain textual representation of an "s dp" record.
Alan Hawrylyshen wrote:
On 2006.03.22, at 03:36 , Robert Mansfield wrote:
John,
I would use Data::from(*sdp).c_str() to get a const char*.
Rob.
But if you plan further manipulations, you are throwing away all the
benefits of the SdpContents class (parsers and accessors,
serialization, etc.) caveat emptor.
I totally agree. The reason why I wanted to do this, is because during
testing, I want to shove
the sdp into a Mac Window so I can examine it for testing when I'm not
logging.
Normally, in my Sip Phone application, I wouldn't need it.
John