Changeset 205 for pjproject/trunk/pjmedia/include/pjmedia/stream.h
- Timestamp:
- Feb 21, 2006 12:11:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/stream.h
r203 r205 29 29 #include <pjmedia/codec.h> 30 30 #include <pjmedia/endpoint.h> 31 #include <pjmedia/port.h> 31 32 #include <pj/sock.h> 32 33 … … 98 99 99 100 100 /**101 * Stream ports.102 */103 struct pjmedia_stream_port104 {105 /**106 * Sink port.107 */108 pj_status_t (*put_frame)(const pj_int16_t *frame, pj_size_t frame_cnt);109 110 /**111 * Source port.112 */113 pj_status_t (*get_frame)(pj_int16_t *frame, pj_size_t frame_cnt);114 };115 116 101 117 102 /** … … 141 126 */ 142 127 PJ_DECL(pj_status_t) pjmedia_stream_destroy(pjmedia_stream *stream); 128 129 /** 130 * Get the port interface of the stream. 131 * 132 * @param stream The media stream. 133 * @param p_port Pointer to receive the port interface. 134 * 135 * @return PJ_SUCCESS on success. 136 */ 137 PJ_DECL(pj_status_t) pjmedia_stream_get_port(pjmedia_stream *stream, 138 pjmedia_port **p_port ); 139 143 140 144 141 /**
Note: See TracChangeset
for help on using the changeset viewer.