• Simon Morlat's avatar
    Fix srtp_t initialization. In order to let master key to be different for the... · 74a1a2f2
    Simon Morlat authored
    Fix srtp_t initialization. In order to let master key to be different for the RTP and the RTCP streams (which will happen with SRTP-DTLS and no rtcp-mux), we use one srtp_t for RTP and one srtp_t for RTCP.
    However, the derivation of keys from master key requires both SRTP and SRTCP parameters to be known, which was not the case.
    Indeed, the code was only initializing the SRTCP parameters for the srtp_t responsible for RTCP.
    This leads to a wrong computation of the SRTCP auth key, which then creates systematic srtp_unprotect_rtcp() errors.
    74a1a2f2
Name
Last commit
Last update
build Loading commit data...
cmake Loading commit data...
debian Loading commit data...
help Loading commit data...
include Loading commit data...
java Loading commit data...
m4 Loading commit data...
po Loading commit data...
src Loading commit data...
tester Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.cproject Loading commit data...
.git-pre-commit Loading commit data...
.gitignore Loading commit data...
.project Loading commit data...
ABOUT-NLS Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README-ANDROID Loading commit data...
README.md Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.rpath Loading commit data...
configure.ac Loading commit data...
define-filters.awk Loading commit data...
define-ms_base_filter_descs.awk Loading commit data...
define-ms_voip_filter_descs.awk Loading commit data...
extract-filters-names.awk Loading commit data...
mediastreamer-config.h.cmake Loading commit data...
mediastreamer.pc.in Loading commit data...
mediastreamer2.spec.in Loading commit data...
pkg.list Loading commit data...