Commit 45b06b3
wuxinfei
feat: Support different rtp header extentions and payload for each consumer
This commit introduces the ability to specify custom RTP parameters for consumers, allowing for advanced scenarios where the wire-level payload types and header-extension IDs differ from the router's canonical values. The implementation includes validation against the producer's consumable RTP parameters and ensures compatibility. Additionally, tests have been added to verify the correct behavior of this feature, including rejection of overrides in pipe transports and validation of codec mappings.1 parent edb8c72 commit 45b06b3
20 files changed
Lines changed: 1786 additions & 132 deletions
File tree
- node/src
- test
- rust/src
- ortc
- router
- worker
- fbs
- include/RTC
- RTP
- src/RTC
- RTP
- test/src/RTC/RTP
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
73 | 92 | | |
74 | 93 | | |
75 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| 588 | + | |
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
| |||
595 | 596 | | |
596 | 597 | | |
597 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
598 | 603 | | |
599 | 604 | | |
600 | 605 | | |
| |||
614 | 619 | | |
615 | 620 | | |
616 | 621 | | |
| 622 | + | |
| 623 | + | |
617 | 624 | | |
618 | | - | |
| 625 | + | |
619 | 626 | | |
620 | | - | |
| 627 | + | |
621 | 628 | | |
622 | 629 | | |
623 | 630 | | |
624 | 631 | | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
625 | 639 | | |
626 | 640 | | |
627 | 641 | | |
628 | 642 | | |
629 | | - | |
| 643 | + | |
630 | 644 | | |
631 | 645 | | |
632 | 646 | | |
| |||
650 | 664 | | |
651 | 665 | | |
652 | 666 | | |
| 667 | + | |
653 | 668 | | |
654 | 669 | | |
655 | 670 | | |
| |||
1348 | 1363 | | |
1349 | 1364 | | |
1350 | 1365 | | |
| 1366 | + | |
1351 | 1367 | | |
1352 | 1368 | | |
1353 | 1369 | | |
| |||
1357 | 1373 | | |
1358 | 1374 | | |
1359 | 1375 | | |
| 1376 | + | |
1360 | 1377 | | |
1361 | 1378 | | |
1362 | 1379 | | |
| |||
1389 | 1406 | | |
1390 | 1407 | | |
1391 | 1408 | | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
1392 | 1418 | | |
1393 | 1419 | | |
1394 | 1420 | | |
| |||
1420 | 1446 | | |
1421 | 1447 | | |
1422 | 1448 | | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
1423 | 1453 | | |
1424 | 1454 | | |
1425 | 1455 | | |
| |||
0 commit comments