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

Side by Side Diff: media/cast/net/rtp_sender/rtp_sender.cc

Issue 112133002: Cast:Moving netwrok sender related code to a designated folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moving const' to .cc Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/net/rtp_sender/rtp_sender.h ('k') | media/cast/net/rtp_sender/rtp_sender.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/rtp_sender/rtp_sender.h" 5 #include "media/cast/net/rtp_sender/rtp_sender.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/rand_util.h" 8 #include "base/rand_util.h"
9 #include "media/cast/cast_defines.h" 9 #include "media/cast/cast_defines.h"
10 #include "media/cast/pacing/paced_sender.h" 10 #include "media/cast/net/pacing/paced_sender.h"
11 #include "media/cast/rtcp/rtcp_defines.h" 11 #include "media/cast/rtcp/rtcp_defines.h"
12 #include "net/base/big_endian.h" 12 #include "net/base/big_endian.h"
13 13
14 namespace media { 14 namespace media {
15 namespace cast { 15 namespace cast {
16 16
17 RtpSender::RtpSender(scoped_refptr<CastEnvironment> cast_environment, 17 RtpSender::RtpSender(scoped_refptr<CastEnvironment> cast_environment,
18 const AudioSenderConfig* audio_config, 18 const AudioSenderConfig* audio_config,
19 const VideoSenderConfig* video_config, 19 const VideoSenderConfig* video_config,
20 PacedPacketSender* transport) 20 PacedPacketSender* transport)
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 time_since_last_send.InMilliseconds() * (config_.frequency / 1000); 136 time_since_last_send.InMilliseconds() * (config_.frequency / 1000);
137 } else { 137 } else {
138 sender_info->rtp_timestamp = 0; 138 sender_info->rtp_timestamp = 0;
139 } 139 }
140 sender_info->send_packet_count = packetizer_->send_packets_count(); 140 sender_info->send_packet_count = packetizer_->send_packets_count();
141 sender_info->send_octet_count = packetizer_->send_octet_count(); 141 sender_info->send_octet_count = packetizer_->send_octet_count();
142 } 142 }
143 143
144 } // namespace cast 144 } // namespace cast
145 } // namespace media 145 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/net/rtp_sender/rtp_sender.h ('k') | media/cast/net/rtp_sender/rtp_sender.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698