Custom Query (2195 matches)
Results (34 - 36 of 2195)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1912 | fixed | Build error on Alpine linux (musl libc) | bennylp | riza |
Description |
When building on Alpine linux, this error was raised: ../src/pj/os_core_unix.c: In function 'init_mutex': ../src/pj/os_core_unix.c:1107:40: error: 'PTHREAD_MUTEX_FAST_NP' undeclared (first use in this function) rc = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_FAST_NP); ^ It seems that PTHREAD_MUTEX_FAST_NP and PTHREAD_MUTEX_RECURSIVE_NP is not portable, as the NP suffix indicates a non-portable extension to the POSIX standard. Reference:
Next error was due to the use of an internal struct field __sched_priority: ../src/samples/siprtp.c:1136:7: error: 'struct sched_param' has no member named '__sched_priority' tp.__sched_priority = max_prio; ^ variables and fields that starts with "__" are for internal use and should in general not be used in applications. Reference: |
|||
#1914 | fixed | Ignore STUN error after pjstun_get_mapped_addr2() | bennylp | riza |
Description |
On media stream creation, the stack will call pjstun_get_mapped_addr2() and might fail if the STUN server is unreachable. Scenario:
This patch will ignore the error from pjstun_get_mapped_addr2() using pjsua_config::stun_ignore_failure. |
|||
#1916 | fixed | onCreateMediaTransport() callback might not be called on PJSUA2 | bennylp | riza |
Description |
on_create_media_transport() callback can be called prior to on_incoming_call(). If this happen on PJSUA2 API, onCreateMediaTransport() will not be called since the call is not created yet. This ticket will call on_incoming_call() first when on_create_media_transport() is executed on PJSUA2 API. |