< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
You can use: SdpContents::Session::Codec codec = sdp.session().media().front().codecs().front();
// or iterate through them Data
codecParameters = codec.parameters(); …To
get the strings following the payload id’s. You
can then use the ParseBuffer class (rutil) to parse this string further.
Search for instances of ParseBuffer in the resip code to get examples of how to
use it. Scott From:
resiprocate-devel-bounces@xxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Karlsson Hi, I using this code to got the fmtp values. list<Data>::const_iterator fmtpIter =
sdpContent->session().media().front().getValues("rtpmap").begin(); if there have: `a=fmtp:125 profile-level-id=42e015; max-br=4000;
max-mbps=19800 */
How to got the 125, 115, 34 and QCIF, CIF, VGA, MAXBR and
profile-level-id, 42e015 ? Does Rutil or DUM, stack have an easy to parse these lines? thanks |