We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51cd58 commit e19efdcCopy full SHA for e19efdc
test/srtp_driver.c
@@ -2831,16 +2831,16 @@ srtp_err_status_t srtp_test_update()
2831
policy.window_size = 128;
2832
policy.allow_repeat_tx = 0;
2833
policy.next = NULL;
2834
- policy.ssrc.type = ssrc_any_outbound;
2835
policy.key = test_key;
2836
2837
/* create a send and recive ctx with defualt profile and test_key */
2838
- status = srtp_create(&srtp_recv, &policy);
+ policy.ssrc.type = ssrc_any_outbound;
+ status = srtp_create(&srtp_snd, &policy);
2839
if (status)
2840
return status;
2841
2842
policy.ssrc.type = ssrc_any_inbound;
2843
- status = srtp_create(&srtp_snd, &policy);
+ status = srtp_create(&srtp_recv, &policy);
2844
2845
2846
0 commit comments