Hi,Attila
    I think your suggestion is wrong. We also use this solution before. But we find 
that the meaning of 2 "m=" line repesent 2 media stream. So it's not suitalbe for this 
case.
    Our solution is introducing a new attribut "X-mptime" which means multiple ptime
   and the SDP would like:

    m=audio 10000 RTP/AVP 0 8      ----- 0 means g711u-law and 8 means g711a-law
    a=X-ptime: 20 30                          -----20 for g711u 30 for g711a

    I think this can solve your problem

Best Regard
Link.Xie
----- Original Message ----- 
From: "Attila Sipos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 7:33 PM
Subject: [Sip-implementors] SDP packet times for muliple codecs


> 
> Hello everyone,
> 
> For multiple codecs we can have an SDP like this:
> m=audio 10000 RTP/AVP 0 8      ----- 0 means g711u-law and 8 means g711a-law
> a=ptime:20
> But this is only correct if the packet times match for
> u-law and a-law.
> 
> 
> What if you have a system where, for some reason, the
> codecs have different packet times?
> 
> Can you do this?
> m=audio 10000 RTP/AVP 0 -             ---- g711-ulaw
> a=ptime:20
> m=audio 10000 RTP/AVP 8               ---- g711 a-law
> a=ptime:30
> 
> Regards,
> 
> Attila
> 
> <http://www.vegastream.com> 
> VegaStream : A World of difference for your Integrated Communications 
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to