< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
I’m not sure exactly how this would be done. The SDP
rfc defines ptime as an a: attribute on its own, so it applies to the entire
m-line. I couldn’t find any formal documentation, but others have suggested
using the fmtp for the codec or use separate m-lines (1 codec per m-line, or
<n> codecs with the same ptime per m-line). Fmtp example: a=fmtp:18 annexb=yes;ptime=20 You should be able to specify the fmtp line using resip as well
as the multiple m-lines. Unfortunately unless you can find it documented
as standard somewhere, I’m not sure that it will work as intended because
other vendors may not use the fmtp line, or even adhere to the different ptimes
in the multiple m-lines. Another issue with the multiple m-line
approach is that you would need to find out if the order of m-lines implies
priority. It is stated that the order of codecs listed on an m-line
implies priority, but not sure about multiple m lines ordering. If you come across a definitive answer, let me know. -justin From: resiprocate
[mailto:resiprocate@xxxxxxxxx] Thanks for your answer. So it's means I can't set the ptime
for every codec? For example, set the G729 ptime is 20ms. and set the PCMA
ptime is 30ms ?
2007/8/2, Justin Matthews <jmatthewsr@xxxxxxxxx>: I believe that ptime applies to
the entire m-line scope so it is only needed once as it applies to all codecs
for that m-line. -justin From: resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx]
On Behalf Of resiprocate Hi all. I have created this SDP contents before I make the invite(I
want to set the ptime for every codec): v=0 ////////////////////////////////////////////////////////////////////////////////////////////////////// Data content(SDP.c_str); HeaderFieldValue hfv(SDP.data(), SDP.size()); Mime type("application", "sdp"); /////////////////////////////////////////////////////////////////////////////////////////////////////// But I used this SDP to make the invite and check the SIP mesage by ethereal,
the invite SDP contents is : v=0 Why reSIProcate modify my SDP ? If I just want to set the ptime for iLBC and G723, then how can I make
the SDP contents? Thanks. |