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

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
« no previous file with comments | « remoting/protocol/rtp_video_writer.cc ('k') | remoting/protocol/rtp_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/rtp_writer.h
diff --git a/remoting/protocol/rtp_writer.h b/remoting/protocol/rtp_writer.h
index 1f410e501bfe249ae1058725a285a679e7e5a67a..99bbb499291884a4bb46b4ac84c34af5eb11829d 100644
--- a/remoting/protocol/rtp_writer.h
+++ b/remoting/protocol/rtp_writer.h
@@ -7,6 +7,7 @@
#include "net/socket/socket.h"
#include "remoting/protocol/buffered_socket_writer.h"
+#include "remoting/protocol/rtp_utils.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();
« no previous file with comments | « remoting/protocol/rtp_video_writer.cc ('k') | remoting/protocol/rtp_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698