diff options
Diffstat (limited to 'auto_tests/toxav_basic_test.c')
-rw-r--r-- | auto_tests/toxav_basic_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auto_tests/toxav_basic_test.c b/auto_tests/toxav_basic_test.c index 2b77da37..bc55d69c 100644 --- a/auto_tests/toxav_basic_test.c +++ b/auto_tests/toxav_basic_test.c | |||
@@ -476,19 +476,19 @@ START_TEST(test_AV_flows) | |||
476 | 476 | ||
477 | printf("Call started as audio only\n"); | 477 | printf("Call started as audio only\n"); |
478 | printf("Turning on video for Alice...\n"); | 478 | printf("Turning on video for Alice...\n"); |
479 | ck_assert(toxav_bit_rate_set(AliceAV, 0, -1, 1000, NULL)); | 479 | ck_assert(toxav_bit_rate_set_video(AliceAV, 0, 1000, NULL)); |
480 | 480 | ||
481 | iterate_tox(bootstrap, Alice, Bob); | 481 | iterate_tox(bootstrap, Alice, Bob); |
482 | ck_assert(BobCC.state & TOXAV_FRIEND_CALL_STATE_SENDING_V); | 482 | ck_assert(BobCC.state & TOXAV_FRIEND_CALL_STATE_SENDING_V); |
483 | 483 | ||
484 | printf("Turning off video for Alice...\n"); | 484 | printf("Turning off video for Alice...\n"); |
485 | ck_assert(toxav_bit_rate_set(AliceAV, 0, -1, 0, NULL)); | 485 | ck_assert(toxav_bit_rate_set_video(AliceAV, 0, 0, NULL)); |
486 | 486 | ||
487 | iterate_tox(bootstrap, Alice, Bob); | 487 | iterate_tox(bootstrap, Alice, Bob); |
488 | ck_assert(!(BobCC.state & TOXAV_FRIEND_CALL_STATE_SENDING_V)); | 488 | ck_assert(!(BobCC.state & TOXAV_FRIEND_CALL_STATE_SENDING_V)); |
489 | 489 | ||
490 | printf("Turning off audio for Alice...\n"); | 490 | printf("Turning off audio for Alice...\n"); |
491 | ck_assert(toxav_bit_rate_set(AliceAV, 0, 0, -1, NULL)); | 491 | ck_assert(toxav_bit_rate_set_audio(AliceAV, 0, 0, NULL)); |
492 | 492 | ||
493 | iterate_tox(bootstrap, Alice, Bob); | 493 | iterate_tox(bootstrap, Alice, Bob); |
494 | ck_assert(!(BobCC.state & TOXAV_FRIEND_CALL_STATE_SENDING_A)); | 494 | ck_assert(!(BobCC.state & TOXAV_FRIEND_CALL_STATE_SENDING_A)); |