Ignore:
Timestamp:
Apr 27, 2006 11:48:08 PM (18 years ago)
Author:
bennylp
Message:

Fixed obsolete comments in stream.h and session.h about stream transmitting media immediately

File:
1 edited

Legend:

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

    r390 r414  
    8484 
    8585/** 
    86  * Create a media stream based on the specified stream parameter. 
    87  * All channels in the stream initially will be inactive. 
     86 * Create a media stream based on the specified parameter. After the stream 
     87 * has been created, application normally would want to get the media port  
     88 * interface of the streams, by calling pjmedia_stream_get_port(). The  
     89 * media port interface exports put_frame() and get_frame() function, used 
     90 * to transmit and receive media frames from the stream. 
     91 * 
     92 * Without application calling put_frame() and get_frame(), there will be  
     93 * no media frames transmitted or received by the stream. 
    8894 * 
    8995 * @param endpt         Media endpoint. 
     
    112118PJ_DECL(pj_status_t) pjmedia_stream_destroy(pjmedia_stream *stream); 
    113119 
    114 /** 
    115  * Get the port interface of the stream. 
     120 
     121/** 
     122 * Get the media port interface of the stream. The media port interface 
     123 * declares put_frame() and get_frame() function, which is the only  
     124 * way for application to transmit and receive media frames from the 
     125 * stream. 
    116126 * 
    117127 * @param stream        The media stream. 
Note: See TracChangeset for help on using the changeset viewer.