Changeset 5956 for pjproject/trunk/pjsip/include/pjsua2/media.hpp
- Timestamp:
- Mar 21, 2019 8:46:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/media.hpp
r5923 r5956 1401 1401 /** 1402 1402 * Extra audio device. This class allows application to have multiple 1403 * sound device instances active concurrently. Application may also use 1404 * this class to improve media clock. Normally media clock is driven by 1405 * sound device in master port, but unfortunately some sound devices may 1406 * produce jittery clock. To improve media clock, application can install 1407 * Null Sound Device (i.e: using AudDevManager::setNullDev()), which will 1408 * act as a master port, and install the sound device as extra sound device. 1403 * sound device instances active concurrently. 1404 1405 * Application may also use this class to improve media clock. Normally 1406 * media clock is driven by sound device in master port, but unfortunately 1407 * some sound devices may produce jittery clock. To improve media clock, 1408 * application can install Null Sound Device (i.e: using 1409 * AudDevManager::setNullDev()), which will act as a master port, and 1410 * install the sound device as extra sound device. 1411 * 1409 1412 * Note that extra sound device will not have auto-close upon idle feature. 1413 * Also note that the extra sound device only supports mono channel. 1410 1414 */ 1411 1415 class ExtraAudioDevice : public AudioMedia … … 1426 1430 1427 1431 /** 1428 * Open the audio device using format (e.g.: clock rate, channel count, 1429 * samples per frame) matched to the conference bridge's format. 1432 * Open the audio device using format (e.g.: clock rate, bit per sample, 1433 * samples per frame) matched to the conference bridge's format, except 1434 * the channel count, which will be set to one (mono channel). 1430 1435 */ 1431 1436 void open();
Note: See TracChangeset
for help on using the changeset viewer.