Changeset 414
- Timestamp:
- Apr 27, 2006 11:48:08 PM (19 years ago)
- Location:
- pjproject/trunk/pjmedia/include/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/session.h
r390 r414 89 89 90 90 /** 91 * Create media session based on the local and remote SDP. 92 * The session will start immediately. 93 * 91 * Create media session based on the local and remote SDP. After the session 92 * has been created, application normally would want to get the media port 93 * interface of each streams, by calling #pjmedia_session_get_port(). The 94 * media port interface exports put_frame() and get_frame() function, used 95 * to transmit and receive media frames from the stream. 96 * 97 * Without application calling put_frame() and get_frame(), there will be 98 * no media frames transmitted or received by the session. 99 * 94 100 * @param endpt The PJMEDIA endpoint instance. 95 101 * @param stream_cnt Maximum number of streams to be created. This … … 119 125 120 126 /** 121 * Get session info.127 * Get media session info of the session. 122 128 * 123 129 * @param session The session which info is being queried. … … 132 138 /** 133 139 * Activate all streams in media session for the specified direction. 140 * Application only needs to call this function if it previously paused 141 * the session. 134 142 * 135 143 * @param session The media session. … … 199 207 200 208 /** 201 * Get the port interface for the specified stream. 209 * Get the media port interface of the specified stream. The media port 210 * interface declares put_frame() and get_frame() function, which is the 211 * only way for application to transmit and receive media frames from the 212 * stream. 213 * 214 * @param session The media session. 215 * @param index Stream index. 216 * @param p_port Pointer to receive the media port interface for 217 * the specified stream. 218 * 219 * @return PJ_SUCCESS on success. 202 220 */ 203 221 PJ_DECL(pj_status_t) pjmedia_session_get_port( pjmedia_session *session, -
pjproject/trunk/pjmedia/include/pjmedia/stream.h
r390 r414 84 84 85 85 /** 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. 88 94 * 89 95 * @param endpt Media endpoint. … … 112 118 PJ_DECL(pj_status_t) pjmedia_stream_destroy(pjmedia_stream *stream); 113 119 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. 116 126 * 117 127 * @param stream The media stream.
Note: See TracChangeset
for help on using the changeset viewer.