Index: remoting/protocol/rtp_writer.h |
diff --git a/remoting/protocol/rtp_writer.h b/remoting/protocol/rtp_writer.h |
index 86e92c0fb5e74ffc862a50a954c5a3df1344dfe3..1f410e501bfe249ae1058725a285a679e7e5a67a 100644 |
--- a/remoting/protocol/rtp_writer.h |
+++ b/remoting/protocol/rtp_writer.h |
@@ -9,6 +9,9 @@ |
#include "remoting/protocol/buffered_socket_writer.h" |
namespace remoting { |
+ |
+class CompoundBuffer; |
+ |
namespace protocol { |
class RtpWriter { |
@@ -21,7 +24,7 @@ class RtpWriter { |
void Init(net::Socket* rtp_socket, net::Socket* rtcp_socket); |
// Sends next packet. |
- void SendPacket(const char* payload, int payload_size, uint32 timestamp); |
+ void SendPacket(const CompoundBuffer& payload, uint32 timestamp); |
// Returns number of packets queued in the buffer. |
int GetPendingPackets(); |