Changeset 1944 for pjproject/trunk/pjmedia/include/pjmedia/transport.h
- Timestamp:
- May 2, 2008 2:50:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport.h
r1873 r1944 305 305 const void *pkt, 306 306 pj_size_t size); 307 308 /** 309 * This function is called by the stream to send RTCP packet using the 310 * transport with destination address other than default specified in 311 * #pjmedia_transport_attach(). 312 * 313 * Application should call #pjmedia_transport_send_rtcp2() instead of 314 * calling this function directly. 315 */ 316 pj_status_t (*send_rtcp2)(pjmedia_transport *tp, 317 const pj_sockaddr_t *addr, 318 unsigned addr_len, 319 const void *pkt, 320 pj_size_t size); 307 321 308 322 /** … … 588 602 589 603 /** 604 * Send RTCP packet with the specified media transport. This is just a simple 605 * wrapper which calls <tt>send_rtcp2()</tt> member of the transport. The 606 * RTCP packet will be delivered to the destination address specified in 607 * param addr, if addr is NULL, RTCP packet will be delivered to destination 608 * address specified in #pjmedia_transport_attach() function. 609 * 610 * @param tp The media transport. 611 * @param addr The destination address. 612 * @param addr_len Length of destination address. 613 * @param pkt The packet to send. 614 * @param size Size of the packet. 615 * 616 * @return PJ_SUCCESS on success, or the appropriate error code. 617 */ 618 PJ_INLINE(pj_status_t) pjmedia_transport_send_rtcp2(pjmedia_transport *tp, 619 const pj_sockaddr_t *addr, 620 unsigned addr_len, 621 const void *pkt, 622 pj_size_t size) 623 { 624 return (*tp->op->send_rtcp2)(tp, addr, addr_len, pkt, size); 625 } 626 627 628 /** 590 629 * Generate local SDP parts that are related to the specified media transport. 591 630 * Remote SDP might be needed as reference when application is in deciding
Note: See TracChangeset
for help on using the changeset viewer.