Chromium Code Reviews| Index: remoting/protocol/rtp_writer.h |
| diff --git a/remoting/protocol/rtp_writer.h b/remoting/protocol/rtp_writer.h |
| index 1f410e501bfe249ae1058725a285a679e7e5a67a..acf904cbb1ce41e39fbb92167c547e867ecba6f7 100644 |
| --- a/remoting/protocol/rtp_writer.h |
| +++ b/remoting/protocol/rtp_writer.h |
| @@ -6,6 +6,7 @@ |
| #define REMOTING_PROTOCOL_RTP_WRITER_H_ |
| #include "net/socket/socket.h" |
| +#include "remoting/protocol/rtp_utils.h" |
|
Alpha Left Google
2010/11/15 23:46:35
order of include.
Sergey Ulanov
2010/11/16 00:22:55
Done.
|
| #include "remoting/protocol/buffered_socket_writer.h" |
| namespace remoting { |
| @@ -23,8 +24,10 @@ class RtpWriter { |
| // to. |
| void Init(net::Socket* rtp_socket, net::Socket* rtcp_socket); |
| - // Sends next packet. |
| - void SendPacket(const CompoundBuffer& payload, uint32 timestamp); |
| + // Sends next packet. The packet is mutated by |
| + void SendPacket(uint32 timestamp, bool marker, |
| + const Vp8Descriptor& vp8_descriptor, |
| + const CompoundBuffer& payload); |
| // Returns number of packets queued in the buffer. |
| int GetPendingPackets(); |