Commit c461a0c
committed
feat: add drop/wait options to sendLossyBytes to control whether bytes are buffered when the dc is in low status
This was encountered when implementing the e2e tests - a large data
track frame could be split up into potentially n packets, and if one
packet is dropped the whole frame is considered dropped. So the behavior
that is really wanted here is to buffer packets and send them once the
data channel can accept more data, even though it is technically a lossy
data channel.1 parent 2f30575 commit c461a0c
2 files changed
+21
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1413 | 1413 | | |
1414 | 1414 | | |
1415 | 1415 | | |
| 1416 | + | |
1416 | 1417 | | |
1417 | 1418 | | |
1418 | 1419 | | |
1419 | 1420 | | |
1420 | 1421 | | |
1421 | 1422 | | |
1422 | | - | |
1423 | 1423 | | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
1429 | | - | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
1430 | 1443 | | |
1431 | | - | |
1432 | 1444 | | |
1433 | 1445 | | |
1434 | 1446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
0 commit comments