Changeset 5972 for pjproject/trunk/pjsip/include/pjsua2/call.hpp
- Timestamp:
- Apr 23, 2019 10:49:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/call.hpp
r5969 r5972 334 334 /** 335 335 * Call media information. 336 * 337 * Application can query conference bridge port of this media using 338 * Call::getAudioMedia() if the media type is audio, 339 * or Call::getEncodingVideoMedia()/Call::getDecodingVideoMedia() 340 * if the media type is video. 336 341 */ 337 342 struct CallMediaInfo … … 358 363 359 364 /** 365 * Warning: this is deprecated, application can query conference bridge 366 * port of this media using Call::getAudioMedia(). 367 * 360 368 * The conference port number for the call. Only valid if the media type 361 369 * is audio. … … 375 383 */ 376 384 VideoWindow videoWindow; 377 385 378 386 /** 379 387 * The video capture device for outgoing transmission, if any, … … 1251 1259 * index is not audio or invalid or inactive, exception will be thrown. 1252 1260 * 1253 * @param med_idx Media index. 1261 * @param med_idx Media index, or -1 to specify any first audio 1262 * media registered in the conference bridge. 1254 1263 * 1255 1264 * @return The audio media. 1256 1265 */ 1257 AudioMedia getAudioMedia(unsigned med_idx) const throw(Error); 1266 AudioMedia getAudioMedia(int med_idx) const throw(Error); 1267 1268 /** 1269 * Get video media in encoding direction for the specified media index. 1270 * If the specified media index is not video or invalid or the direction 1271 * is receive only, exception will be thrown. 1272 * 1273 * @param med_idx Media index, or -1 to specify any first video 1274 * media with encoding direction registered in the 1275 * conference bridge. 1276 * 1277 * @return The video media. 1278 */ 1279 VideoMedia getEncodingVideoMedia(int med_idx) const throw(Error); 1280 1281 /** 1282 * Get video media in decoding direction for the specified media index. 1283 * If the specified media index is not video or invalid or the direction 1284 * is send only, exception will be thrown. 1285 * 1286 * @param med_idx Media index, or -1 to specify any first video 1287 * media with decoding direction registered in the 1288 * conference bridge. 1289 * 1290 * @return The video media. 1291 */ 1292 VideoMedia getDecodingVideoMedia(int med_idx) const throw(Error); 1258 1293 1259 1294 /**
Note: See TracChangeset
for help on using the changeset viewer.