Since building with XCode 16.1 (which brings apple clang 16.0.0) srtp decryption breaks down after some (varying) time, it can be seconds, it can be a few minutes until breakdown. Sending audio continues to work, received audio is just white noise.
This should be reproducible with a default release build of a recent baresip version using XCode 16.1 on an Intel Mac (not sure if this also occurs on Apple Silicon).
Workaround is to disable optimization for srtp/misc.c in libre:
if (APPLE)
set_source_files_properties(src/srtp/misc.c PROPERTIES COMPILE_FLAGS -O0)
endif()
Since building with XCode 16.1 (which brings apple clang 16.0.0) srtp decryption breaks down after some (varying) time, it can be seconds, it can be a few minutes until breakdown. Sending audio continues to work, received audio is just white noise.
This should be reproducible with a default release build of a recent baresip version using XCode 16.1 on an Intel Mac (not sure if this also occurs on Apple Silicon).
Workaround is to disable optimization for
srtp/misc.cin libre: