Custom Query (2195 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 2195)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
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:

  1. Start PJSIP with STUN server A, STUN server B (both STUN servers are reachable)
  2. PJSIP will use STUN server A
  3. STUN server A becomes unreachable, STUN servr B remains reachable
  4. User dials a call
  5. PJSIP tries to resolve call media with STUN server A, but fails. (PJLIB_UTIL_ESTUNNOTRESPOND)
  6. The stack will not fallback to STUN server B nor continue without STUN.

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.

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.