[pjsip] Fwd: TOS over transport udp for sip, rtp, rtcp.

Benny Prijono bennylp at pjsip.org
Wed Apr 23 14:30:15 EDT 2008

On Wed, Apr 23, 2008 at 3:44 PM, Rodrigo Vega <vegaroy13 at gmail.com> wrote:
> I've been doing some tracing, and don't know which is the difference between
> pj_sock_bind_in and pj_sock_bind (without _in)???

pj_sock_bind_in() can only bind to IPv4 address, hence the _in suffix.

> and if create_rtp_rtcp_sock() from file ./pjsip/src/pjsua-lib/pjsua_media.c
> creates some kind of bidirecctional sockets (the sockets for rtp 4000)???,

yes it does (as the name implies). It creates the sockets for media
transports. You can probably do setsockopt() here for the media


> what I want to do is to set for outgoing messages a DSCP code point into IP
> header using setsockopt.
> please any help.
> _______________________________________________
>  Visit our blog: http://blog.pjsip.org
>  pjsip mailing list
>  pjsip at lists.pjsip.org
>  http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

More information about the pjsip mailing list