diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 01:27:46 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 01:27:46 +0000 |
commit | b3c03409a5538a9aa4577b10f340e14fd71d99dc (patch) | |
tree | 679974a34a0d1414ea8699f555c52b9fc6ad408f /remoting/protocol/rtp_writer.h | |
parent | aa32bccb292a8e9e153bd44544558e36f440f21e (diff) | |
download | chromium_src-b3c03409a5538a9aa4577b10f340e14fd71d99dc.zip chromium_src-b3c03409a5538a9aa4577b10f340e14fd71d99dc.tar.gz chromium_src-b3c03409a5538a9aa4577b10f340e14fd71d99dc.tar.bz2 |
Added CompoundBuffer that will be used to store data in the encoding/decoding
pipeline.
BUG=None
TEST=Unittests
Review URL: http://codereview.chromium.org/4779001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/rtp_writer.h')
-rw-r--r-- | remoting/protocol/rtp_writer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/protocol/rtp_writer.h b/remoting/protocol/rtp_writer.h index 86e92c0..1f410e5 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(); |