Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1316)

Unified Diff: remoting/protocol/rtp_writer.h

Issue 4925001: Packetizer/Depacketizer for RTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698