Specify the source address for outbound audio and video traffic (#1569)
This commit is contained in:
@@ -586,10 +586,23 @@ namespace platf {
|
||||
std::uintptr_t native_socket;
|
||||
boost::asio::ip::address &target_address;
|
||||
uint16_t target_port;
|
||||
boost::asio::ip::address &source_address;
|
||||
};
|
||||
bool
|
||||
send_batch(batched_send_info_t &send_info);
|
||||
|
||||
struct send_info_t {
|
||||
const char *buffer;
|
||||
size_t size;
|
||||
|
||||
std::uintptr_t native_socket;
|
||||
boost::asio::ip::address &target_address;
|
||||
uint16_t target_port;
|
||||
boost::asio::ip::address &source_address;
|
||||
};
|
||||
bool
|
||||
send(send_info_t &send_info);
|
||||
|
||||
enum class qos_data_type_e : int {
|
||||
audio,
|
||||
video
|
||||
|
||||
Reference in New Issue
Block a user