Skip to content

Commit

Permalink
test: call - move cancel_rule_pop for better debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Oct 19, 2023
1 parent 7258989 commit acf8395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/call.c
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,6 @@ int test_call_change_videodir(void)
err = re_main_timeout(5000);
TEST_ERR(err);
TEST_ERR(fix.err);
cancel_rule_pop();

ASSERT_TRUE(!call_has_video(ua_call(f->a.ua)));
ASSERT_TRUE(call_has_video(ua_call(f->b.ua)));
Expand All @@ -1326,6 +1325,7 @@ int test_call_change_videodir(void)
vm = stream_sdpmedia(video_strm(call_video(ua_call(f->b.ua))));
ASSERT_EQ(SDP_SENDRECV, sdp_media_ldir(vm));
ASSERT_EQ(SDP_INACTIVE, sdp_media_rdir(vm));
cancel_rule_pop();

/* Set video sendrecv */
err = call_set_video_dir(ua_call(f->a.ua), SDP_SENDRECV);
Expand Down

0 comments on commit acf8395

Please sign in to comment.