|
35 | 35 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | 36 | */ |
37 | 37 |
|
| 38 | +#include <cassert> |
38 | 39 | #include <cinttypes> |
39 | 40 | #include <map> |
40 | 41 | #include <mutex> |
@@ -295,17 +296,17 @@ struct rtp *rtp_video_rxtx::initialize_network(const char *addr, int recv_port, |
295 | 296 | } |
296 | 297 | struct rtp *device = |
297 | 298 | rtp_init_if(addr, mcast_if, recv_port, send_port, ttl, rtcp_bw, |
298 | | - FALSE, rtp_recv_callback, (uint8_t *) participants, |
| 299 | + false, rtp_recv_callback, (uint8_t *) participants, |
299 | 300 | force_ip_version, multithreaded); |
300 | 301 | if (device == nullptr) { |
301 | 302 | return nullptr; |
302 | 303 | } |
303 | | - rtp_set_option(device, RTP_OPT_WEAK_VALIDATION, TRUE); |
304 | | - rtp_set_option(device, RTP_OPT_PROMISC, TRUE); |
| 304 | + rtp_set_option(device, RTP_OPT_WEAK_VALIDATION, true); |
| 305 | + rtp_set_option(device, RTP_OPT_PROMISC, true); |
305 | 306 | rtp_set_sdes(device, rtp_my_ssrc(device), |
306 | 307 | RTCP_SDES_TOOL, PACKAGE_STRING, strlen(PACKAGE_STRING)); |
307 | 308 | if (strcmp(addr, IN6_BLACKHOLE_SERVER_MODE_STR) == 0) { |
308 | | - rtp_set_option(device, RTP_OPT_SEND_BACK, TRUE); |
| 309 | + rtp_set_option(device, RTP_OPT_SEND_BACK, true); |
309 | 310 | } |
310 | 311 |
|
311 | 312 | rtp_set_recv_buf(device, INITIAL_VIDEO_RECV_BUFFER_SIZE); |
|
0 commit comments