Index: talk/media/webrtc/webrtcvoiceengine.h |
diff --git a/talk/media/webrtc/webrtcvoiceengine.h b/talk/media/webrtc/webrtcvoiceengine.h |
index 5121c08b7950c6e68508a8cef0dcd705ca09f4ea..cba945657caefafd45efa2590f1ddfb07dce279e 100644 |
--- a/talk/media/webrtc/webrtcvoiceengine.h |
+++ b/talk/media/webrtc/webrtcvoiceengine.h |
@@ -226,13 +226,15 @@ class WebRtcVoiceMediaChannel : public VoiceMediaChannel, |
const webrtc::PacketOptions& options) override { |
rtc::Buffer packet(reinterpret_cast<const uint8_t*>(data), len, |
kMaxRtpPacketLen); |
- return VoiceMediaChannel::SendPacket(&packet); |
+ rtc::PacketOptions rtc_options; |
+ rtc_options.packet_id = options.packet_id; |
+ return VoiceMediaChannel::SendPacket(&packet, rtc_options); |
} |
bool SendRtcp(const uint8_t* data, size_t len) override { |
rtc::Buffer packet(reinterpret_cast<const uint8_t*>(data), len, |
kMaxRtpPacketLen); |
- return VoiceMediaChannel::SendRtcp(&packet); |
+ return VoiceMediaChannel::SendRtcp(&packet, rtc::PacketOptions()); |
} |
void OnError(int error); |