Changeset 6112 for pjproject/trunk/pjmedia/include/pjmedia/avi_stream.h
- Timestamp:
- Nov 29, 2019 4:21:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/avi_stream.h
r3715 r6112 139 139 140 140 141 #if !DEPRECATED_FOR_TICKET_2251 141 142 /** 142 143 * Register a callback to be called when the file reading has reached the … … 159 160 pj_status_t (*cb)(pjmedia_avi_stream *stream, 160 161 void *usr_data)); 162 #endif 163 164 165 /** 166 * Register a callback to be called when the file reading has reached the 167 * end of file. If the file is set to play repeatedly, then the callback 168 * will be called multiple times. Note that only one callback can be 169 * registered for each AVI stream. 170 * 171 * @param stream The AVI stream. 172 * @param user_data User data to be specified in the callback 173 * @param cb Callback to be called. Note that if 174 * application wishes to stop the playback, it 175 * can disconnect the port in the callback, and 176 * only after all connections have been removed 177 * could the application safely destroy the port. 178 * 179 * @return PJ_SUCCESS on success. 180 */ 181 PJ_DECL(pj_status_t) 182 pjmedia_avi_stream_set_eof_cb2(pjmedia_avi_stream *stream, 183 void *user_data, 184 void (*cb)(pjmedia_avi_stream *stream, 185 void *usr_data)); 186 161 187 162 188 /**
Note: See TracChangeset
for help on using the changeset viewer.