Ignore:
Timestamp:
Jul 29, 2009 12:19:25 PM (15 years ago)
Author:
bennylp
Message:

Ticket #924: Loop media transport now allows more than one streams to receive the reflected packets

  • This ticket allows the same loop media transport instance to be attached to more than one streams, and allow application to control which stream(s) receives the reflected packets.
File:
1 edited

Legend:

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

    r2394 r2845  
    3636 * @{ 
    3737 * 
    38  * This is the loopback media transport, where packet sent to this transport 
    39  * will immediately be sent back to the callback. 
     38 * This is the loopback media transport, where packets sent to this transport 
     39 * will be sent back to the streams attached to this transport. Unlike the 
     40 * other PJMEDIA transports, the loop transport may be attached to multiple 
     41 * streams (in other words, application should specify the same loop transport 
     42 * instance when calling #pjmedia_stream_create()). Any RTP or RTCP packets 
     43 * sent by one stream to this transport by default will be sent back to all  
     44 * streams that are attached to this transport, including to the stream that 
     45 * sends the packet. Application may individually select which stream to 
     46 * receive packets by calling #pjmedia_transport_loop_disable_rx(). 
    4047 */ 
    4148 
     
    5562 
    5663 
     64/** 
     65 * Set this stream as the receiver of incoming packets. 
     66 */ 
     67PJ_DECL(pj_status_t) pjmedia_transport_loop_disable_rx(pjmedia_transport *tp, 
     68                                                       void *user, 
     69                                                       pj_bool_t disabled); 
    5770 
    5871 
Note: See TracChangeset for help on using the changeset viewer.