diff --git a/tests/test_call.c b/tests/test_call.c index 2e1f617f..4ddba0e6 100644 --- a/tests/test_call.c +++ b/tests/test_call.c @@ -432,7 +432,7 @@ static void call_tick(void* arg) { /* тестовый «Opus-кадр» — релей произвольных байт, не валидируем кодек */ static const uint8_t opus[16] = { 0xf8, 0xff, 0xfe, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d }; - if (call_send_media(A, t->call_id, opus, sizeof(opus)) != 0) { + if (call_send_media(A, t->call_id, opus, sizeof(opus), NULL) != 0) { fprintf(stderr, "A: call_send_media failed\n"); t->result = 2; } else { diff --git a/tests/test_conn_mgr_phases.c b/tests/test_conn_mgr_phases.c index e99c5bdf..2faf6178 100644 --- a/tests/test_conn_mgr_phases.c +++ b/tests/test_conn_mgr_phases.c @@ -465,7 +465,7 @@ static int run_upgrade(void) { fail("CALL PATH: relay status missing"); return -1; } uint8_t frame[] = {0xf8, 0xff, 0xfe}; - if (call_send_media(inst_a, call_id, frame, sizeof(frame)) || !poll_until(call_media_delivered, 3000)) { + if (call_send_media(inst_a, call_id, frame, sizeof(frame), NULL) || !poll_until(call_media_delivered, 3000)) { fail("CALL PATH: relay media delivery failed"); return -1; } // Появился пригодный адрес B. Обновление дополняет существующий NCD.