Hi, guys!
I'm trying to compile pjsip project and I've faced one difficulty.
I've successfuly compiled project with MSVC 2015 and gcc 7.2 on my Windows 10.
But whatever I'm doing names of devices are cropped by 32 symbols.
I've set PJMEDIA_AUD_DEV_INFO_NAME_LEN to value of 128 in config_site.h with no result. I'm giving up.
Maybe somebody can tell me a solution for this riddle.
Thx in advance.
Had the same problem:
You need to inform that PJSIP should not use the old MMSystem-API of windows but the newer from Windows Vista “WASAPI”.
In wmme_dev.c:
#ifndef PJMEDIA_WMME_DEV_USE_MMDEVICE_API
#endif
_WIN32_WINNT should be at least 0x0600!
Cheers
Martin
Von: pjsip pjsip-bounces@lists.pjsip.org Im Auftrag von ????? ????????? via pjsip
Gesendet: Mittwoch, 16. Januar 2019 17:52
An: pjsip@lists.pjsip.org
Cc: Антон Каменский antkamidiv@mail.ru
Betreff: [pjsip] Cropped names of audio devices
Hi, guys!
I'm trying to compile pjsip project and I've faced one difficulty.
I've successfuly compiled project with MSVC 2015 and gcc 7.2 on my Windows 10.
But whatever I'm doing names of devices are cropped by 32 symbols.
I've set PJMEDIA_AUD_DEV_INFO_NAME_LEN to value of 128 in config_site.h with no result. I'm giving up.
Maybe somebody can tell me a solution for this riddle.
Thx in advance.
PS: The MMSystem-API has a limitation of 32 characters for device names!
Regards
Martin
Von: pjsip pjsip-bounces@lists.pjsip.org Im Auftrag von ????? ????????? via pjsip
Gesendet: Mittwoch, 16. Januar 2019 17:52
An: pjsip@lists.pjsip.org
Cc: Антон Каменский antkamidiv@mail.ru
Betreff: [pjsip] Cropped names of audio devices
Hi, guys!
I'm trying to compile pjsip project and I've faced one difficulty.
I've successfuly compiled project with MSVC 2015 and gcc 7.2 on my Windows 10.
But whatever I'm doing names of devices are cropped by 32 symbols.
I've set PJMEDIA_AUD_DEV_INFO_NAME_LEN to value of 128 in config_site.h with no result. I'm giving up.
Maybe somebody can tell me a solution for this riddle.
Thx in advance.
Hello!
Thank You for reply. Your help is invaluable !
It's working properly now.
Четверг, 17 января 2019, 12:42 +03:00 от maddinthegreat@gmail.com:
Had the same problem:
You need to inform that PJSIP should not use the old MMSystem-API of windows but the newer from Windows Vista “ WASAPI ”.
In wmme_dev.c:
#ifndef PJMEDIA_WMME_DEV_USE_MMDEVICE_API
# if defined ( _WIN32_WINNT ) && ( _WIN32_WINNT >=0x0600)
# define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 1
# else
# define PJMEDIA_WMME_DEV_USE_MMDEVICE_API 0
# endif
#endif
_WIN32_WINNT should be at least 0x0600!
Cheers
Martin
Von: pjsip < pjsip-bounces@lists.pjsip.org > Im Auftrag von ????? ????????? via pjsip
Gesendet: Mittwoch, 16. Januar 2019 17:52
An: pjsip@lists.pjsip.org
Cc: Антон Каменский < antkamidiv@mail.ru >
Betreff: [pjsip] Cropped names of audio devices
Hi, guys!
I'm trying to compile pjsip project and I've faced one difficulty.
I've successfuly compiled project with MSVC 2015 and gcc 7.2 on my Windows 10.
But whatever I'm doing names of devices are cropped by 32 symbols.
I've set PJMEDIA_AUD_DEV_INFO_NAME_LEN to value of 128 in config_site.h with no result. I'm giving up.
Maybe somebody can tell me a solution for this riddle.
Thx in advance.
С уважением, Каменский Антон.