We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 004b7bb + e19efdc commit cc362aeCopy full SHA for cc362ae
test/srtp_driver.c
@@ -2833,16 +2833,16 @@ srtp_err_status_t srtp_test_update()
2833
policy.window_size = 128;
2834
policy.allow_repeat_tx = 0;
2835
policy.next = NULL;
2836
- policy.ssrc.type = ssrc_any_outbound;
2837
policy.key = test_key;
2838
2839
/* create a send and recive ctx with defualt profile and test_key */
2840
- status = srtp_create(&srtp_recv, &policy);
+ policy.ssrc.type = ssrc_any_outbound;
+ status = srtp_create(&srtp_snd, &policy);
2841
if (status)
2842
return status;
2843
2844
policy.ssrc.type = ssrc_any_inbound;
2845
- status = srtp_create(&srtp_snd, &policy);
+ status = srtp_create(&srtp_recv, &policy);
2846
2847
2848
0 commit comments