Agora
1.2.0
Agora project
|
Implementation file for the simple mac sender class. More...
#include "mac_sender.h"
#include <csignal>
#include <thread>
#include <utility>
#include "datatype_conversion.h"
#include "file_receiver.h"
#include "gettime.h"
#include "logger.h"
#include "message.h"
#include "udp_client.h"
#include "video_receiver.h"
Functions | |
static std::atomic< bool > | keep_running (true) |
static std::atomic< size_t > | num_workers_ready_atomic (0) |
void | InterruptHandler (int) |
void | DelayTicks (uint64_t start, uint64_t ticks) |
Variables | |
static const std::string | kMacSendFromAddress = "127.0.0.1" |
static constexpr uint16_t | kMacSendFromPort = 0 |
static constexpr bool | kDebugPrintSender = false |
static constexpr size_t | kFrameLoadAdvance = 10 |
static constexpr size_t | kBufferInit = 10 |
static constexpr size_t | kTxBufferElementAlignment = 64 |
static constexpr size_t | kSlowStartThresh1 = kFrameWnd |
static constexpr size_t | kSlowStartThresh2 = (kFrameWnd * 4) |
static constexpr size_t | kSlowStartMulStage1 = 32 |
static constexpr size_t | kSlowStartMulStage2 = 8 |
static constexpr size_t | kMasterThreadId = 0 |
Implementation file for the simple mac sender class.
void DelayTicks | ( | uint64_t | start, |
uint64_t | ticks | ||
) |
void InterruptHandler | ( | int | ) |
|
static |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |