media line(m) shows codec preference in order.
m=audio 13406 RTP/AVP 8 0 101
8 for PCMA
0 for PCMU

On 5 January 2017 at 15:19, Alain Bieuzent <[email protected]> wrote:

> Hi all,
>
>
>
> Is there a way to know the order of the codecs?
>
>
>
> For exemple in this SDP :
>
> m=audio 13406 RTP/AVP 8 0 101
>
> a=rtpmap:8 PCMA/8000
>
> a=rtpmap:0 PCMU/8000
>
> a=rtpmap:101 telephone-event/8000
>
>
>
> How i know that the prefered codec is PCMA ?
>
>
>
> Regards,
>
>
>
> Alain
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to