> From: Aman Aggarwal [[email protected]]
> 
> Can the dynamic codec have the same payload name as that of static
> codec in rtpmap attribute?
> 
> Please check the below SDP format:-
> 
>    m=audio 32420 RTP/AVP 8 0 98 99
>    a=rtpmap:8 PCMA/8000
>    a=rtpmap:0 PCMU/8000
>    a=rtpmap:98 PCMA/8000
>    a=rtpmap:99 PCMU/8000

This has been discussed, and the conclusion is that there is no
specification which forbids using the same code name for two different
codec numbers.  That is not recommended, however.

It is not recommended to use a payload number that has a static
assignment (RFC 1890) for any codec other than the static assignment,
but it is allowed, as long as an a=rtpmap line describes the
assignment.

Even if a payload number has a static assignment, it is recommended to
provide an a=rtpmap line for it.

Dale

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to