FreeCalypso > hg > themwi-rtp-lib
annotate include/fdpair.h @ 40:d73b6ec27ae6
twjit: allow starting fill level to be 1
In most use cases, the smallest useful setting for starting fill level
is 2. However, our job is to provide mechanism rather than policy,
and the theoretical minimum is 1 - so let's support the latter
configuration.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 20 Dec 2024 20:07:01 +0000 |
| parents | 2a24487453a7 |
| children |
| rev | line source |
|---|---|
|
17
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * This header file provides API declaration for twrtp_bind_fdpair() |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * standalone function. |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 */ |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 #pragma once |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 #include <stdint.h> |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
|
2a24487453a7
implement twrtp_bind_fdpair()
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 int twrtp_bind_fdpair(const char *ip, uint16_t port, int *fd_rtp, int *fd_rtcp); |
