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

Unified Diff: remoting/protocol/rtp_writer.cc

Issue 7218061: Close all writers before JingleSession is destroyed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 9 years, 6 months 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_writer.h ('k') | remoting/protocol/video_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/rtp_writer.cc
diff --git a/remoting/protocol/rtp_writer.cc b/remoting/protocol/rtp_writer.cc
index e26bdb7c186534036436ae940c1345c81b9d55cb..fb1e1f8220105eea385ed5d965390b3b5da43bf9 100644
--- a/remoting/protocol/rtp_writer.cc
+++ b/remoting/protocol/rtp_writer.cc
@@ -29,6 +29,10 @@ void RtpWriter::Init(net::Socket* rtp_socket) {
buffered_rtp_writer_->Init(rtp_socket, NULL);
}
+void RtpWriter::Close() {
+ buffered_rtp_writer_->Close();
+}
+
void RtpWriter::SendPacket(uint32 timestamp, bool marker,
const Vp8Descriptor& vp8_descriptor,
const CompoundBuffer& payload) {
« no previous file with comments | « remoting/protocol/rtp_writer.h ('k') | remoting/protocol/video_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698