| Index: content/browser/renderer_host/p2p/socket_host_udp.cc
|
| diff --git a/content/browser/renderer_host/p2p/socket_host_udp.cc b/content/browser/renderer_host/p2p/socket_host_udp.cc
|
| index 8303d2bcdba1acb25b5e740e5db8014ae26d1478..fc27b2673183bf99b057850899870a01ba701f4c 100644
|
| --- a/content/browser/renderer_host/p2p/socket_host_udp.cc
|
| +++ b/content/browser/renderer_host/p2p/socket_host_udp.cc
|
| @@ -15,6 +15,7 @@
|
| #include "net/base/io_buffer.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/net_util.h"
|
| +#include "third_party/libjingle/source/talk/base/asyncpacketsocket.h"
|
|
|
| namespace {
|
|
|
| @@ -63,11 +64,6 @@ P2PSocketHostUdp::PendingPacket::PendingPacket(
|
| packet_options(options),
|
| id(id) {
|
| memcpy(data->data(), &content[0], size);
|
| - if (!options.packet_time_params.srtp_auth_key.empty()) {
|
| - memcpy(&packet_options.packet_time_params.srtp_auth_key[0],
|
| - &options.packet_time_params.srtp_auth_key[0],
|
| - options.packet_time_params.srtp_auth_key.size());
|
| - }
|
| }
|
|
|
| P2PSocketHostUdp::PendingPacket::~PendingPacket() {
|
| @@ -242,6 +238,8 @@ void P2PSocketHostUdp::DoSend(const PendingPacket& packet) {
|
| last_dscp_ = net::DSCP_NO_CHANGE;
|
| }
|
| }
|
| + talk_base::PacketOptions options;
|
| + MaybeUpdatePacketAbsSendTimeExtn(packet.data->data(), packet.size, options);
|
| int result = socket_->SendTo(
|
| packet.data.get(),
|
| packet.size,
|
|
|