Update call transport tests for explicit capture metadata
This commit is contained in:
1 parent
2e1908a52b
commit
dc3cf4f227
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user