mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-27 19:41:56 +01:00
14 lines
494 B
Diff
14 lines
494 B
Diff
diff --git a/src/crypto/ms_srtp.c b/src/crypto/ms_srtp.c
|
|
index ef15d54..a33477d 100644
|
|
--- a/src/crypto/ms_srtp.c
|
|
+++ b/src/crypto/ms_srtp.c
|
|
@@ -371,7 +371,7 @@ static int ms_add_srtp_stream(srtp_t srtp, MSCryptoSuite suite, uint32_t ssrc, c
|
|
policy.key = (uint8_t *)key;
|
|
policy.next = NULL;
|
|
|
|
- err = srtp_add_or_update_stream(srtp, &policy);
|
|
+ err = srtp_add_stream(srtp, &policy);
|
|
if (err != err_status_ok) {
|
|
ms_error("Failed to add stream to srtp session (%d)", err);
|
|
return -1;
|