diff options
Diffstat (limited to 'testing/av_test.c')
-rw-r--r-- | testing/av_test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/av_test.c b/testing/av_test.c index 8e048d02..1c13ebad 100644 --- a/testing/av_test.c +++ b/testing/av_test.c | |||
@@ -70,8 +70,8 @@ | |||
70 | #define YUV2B(Y, U, V) CLIP(( 298 * C(Y) + 516 * D(U) + 128) >> 8) | 70 | #define YUV2B(Y, U, V) CLIP(( 298 * C(Y) + 516 * D(U) + 128) >> 8) |
71 | 71 | ||
72 | 72 | ||
73 | #define TEST_TRANSFER_A 1 | 73 | #define TEST_TRANSFER_A 0 |
74 | #define TEST_TRANSFER_V 0 | 74 | #define TEST_TRANSFER_V 1 |
75 | 75 | ||
76 | 76 | ||
77 | typedef struct { | 77 | typedef struct { |
@@ -650,7 +650,7 @@ int main (int argc, char** argv) | |||
650 | 650 | ||
651 | { /* Call */ | 651 | { /* Call */ |
652 | TOXAV_ERR_CALL rc; | 652 | TOXAV_ERR_CALL rc; |
653 | toxav_call(AliceAV, 0, 0, 3000, &rc); | 653 | toxav_call(AliceAV, 0, 0, 2000, &rc); |
654 | 654 | ||
655 | if (rc != TOXAV_ERR_CALL_OK) { | 655 | if (rc != TOXAV_ERR_CALL_OK) { |
656 | printf("toxav_call failed: %d\n", rc); | 656 | printf("toxav_call failed: %d\n", rc); |
@@ -663,7 +663,7 @@ int main (int argc, char** argv) | |||
663 | 663 | ||
664 | { /* Answer */ | 664 | { /* Answer */ |
665 | TOXAV_ERR_ANSWER rc; | 665 | TOXAV_ERR_ANSWER rc; |
666 | toxav_answer(BobAV, 0, 0, 500, &rc); | 666 | toxav_answer(BobAV, 0, 0, 5000, &rc); |
667 | 667 | ||
668 | if (rc != TOXAV_ERR_ANSWER_OK) { | 668 | if (rc != TOXAV_ERR_ANSWER_OK) { |
669 | printf("toxav_answer failed: %d\n", rc); | 669 | printf("toxav_answer failed: %d\n", rc); |
@@ -690,7 +690,7 @@ int main (int argc, char** argv) | |||
690 | exit(1); | 690 | exit(1); |
691 | } | 691 | } |
692 | 692 | ||
693 | toxav_video_bit_rate_set(AliceAV, 0, 5000, false, NULL); | 693 | // toxav_video_bit_rate_set(AliceAV, 0, 5000, false, NULL); |
694 | 694 | ||
695 | time_t start_time = time(NULL); | 695 | time_t start_time = time(NULL); |
696 | while(start_time + 90 > time(NULL)) { | 696 | while(start_time + 90 > time(NULL)) { |