Ignore:
Timestamp:
Dec 3, 2007 2:38:25 PM (16 years ago)
Author:
bennylp
Message:

Ticket #420: updated pjmedia SDP and media UDP transport to support IPv6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/transport_udp.h

    r1112 r1615  
    113113 
    114114/** 
     115 * Another variant of #pjmedia_transport_udp_create() which allows 
     116 * the creation of IPv6 transport. 
     117 * 
     118 * @param endpt     The media endpoint instance. 
     119 * @param af        Address family, which can be pj_AF_INET() for IPv4 or 
     120 *                  pj_AF_INET6() for IPv6. 
     121 * @param name      Optional name to be assigned to the transport. 
     122 * @param addr      Optional local address to bind the sockets to. If this 
     123 *                  argument is NULL or empty, the sockets will be bound 
     124 *                  to all interface. 
     125 * @param port      UDP port number for the RTP socket. The RTCP port number 
     126 *                  will be set to one above RTP port. 
     127 * @param options   Options, bitmask of #pjmedia_transport_udp_options. 
     128 * @param p_tp      Pointer to receive the transport instance. 
     129 * 
     130 * @return          PJ_SUCCESS on success. 
     131 */ 
     132PJ_DECL(pj_status_t) pjmedia_transport_udp_create3(pjmedia_endpt *endpt, 
     133                                                   int af, 
     134                                                   const char *name, 
     135                                                   const pj_str_t *addr, 
     136                                                   int port, 
     137                                                   unsigned options, 
     138                                                   pjmedia_transport **p_tp); 
     139 
     140/** 
    115141 * Get media socket info from the specified UDP transport. 
    116142 * 
Note: See TracChangeset for help on using the changeset viewer.