Browse Source

change default a=crypto: tag from zero to one

Closes #9
pull/11/head
Richard Fuchs 12 years ago
parent
commit
e7aa743fce
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/call.c

+ 2
- 2
daemon/call.c View File

@ -1732,8 +1732,8 @@ static void __generate_crypto(const struct sdp_ng_flags *flags, struct call_medi
}
}
/* for answer case, otherwise defaults to zero */
this->sdes_out.tag = this->sdes_in.tag;
/* for answer case, otherwise we default to one */
this->sdes_out.tag = this->sdes_in.params.crypto_suite ? this->sdes_in.tag : 1;
if (other->sdes_in.params.crypto_suite) {
/* SRTP <> SRTP case, copy from other stream */


Loading…
Cancel
Save