summaryrefslogtreecommitdiffstats
path: root/media/cast/audio_receiver/audio_receiver.cc
diff options
context:
space:
mode:
authormikhal@chromium.org <mikhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 17:03:22 +0000
committermikhal@chromium.org <mikhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 17:03:22 +0000
commita004d206407ab0ace95f7ca08f9cac98b57386d4 (patch)
treebdb29bd5dddd30770c6ab71ecdc82d83b7baf3f0 /media/cast/audio_receiver/audio_receiver.cc
parent15da2dd0882f922610a842b58778c0fc9a1f3b5e (diff)
downloadchromium_src-a004d206407ab0ace95f7ca08f9cac98b57386d4.zip
chromium_src-a004d206407ab0ace95f7ca08f9cac98b57386d4.tar.gz
chromium_src-a004d206407ab0ace95f7ca08f9cac98b57386d4.tar.bz2
Cast:Switching to use Cast transport library
This cl handles moves all applicable code from the Cast sender to the Cast transport library. Newly Added files: - Cast_transport_impl.* - audio and video senders. This change also affected the existing unittests and test apps, which were rewritten as well. BUG=327482 Review URL: https://codereview.chromium.org/134423004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/audio_receiver/audio_receiver.cc')
-rw-r--r--media/cast/audio_receiver/audio_receiver.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/media/cast/audio_receiver/audio_receiver.cc b/media/cast/audio_receiver/audio_receiver.cc
index b82cafc..61756a2 100644
--- a/media/cast/audio_receiver/audio_receiver.cc
+++ b/media/cast/audio_receiver/audio_receiver.cc
@@ -132,6 +132,7 @@ AudioReceiver::AudioReceiver(scoped_refptr<CastEnvironment> cast_environment,
base::TimeDelta::FromMilliseconds(audio_config.rtcp_interval);
rtcp_.reset(new Rtcp(cast_environment,
NULL,
+ NULL,
packet_sender,
NULL,
rtp_audio_receiver_statistics_.get(),
@@ -180,7 +181,7 @@ void AudioReceiver::IncomingParsedRtpPacket(const uint8* payload_data,
}
if (!decryptor_->Decrypt(base::StringPiece(reinterpret_cast<const char*>(
payload_data), payload_size), &plaintext)) {
- VLOG(0) << "Decryption error";
+ VLOG(1) << "Decryption error";
return;
}
}
@@ -472,7 +473,7 @@ bool AudioReceiver::DecryptAudioFrame(
}
std::string decrypted_audio_data;
if (!decryptor_->Decrypt((*audio_frame)->data, &decrypted_audio_data)) {
- VLOG(0) << "Decryption error";
+ VLOG(1) << "Decryption error";
// Give up on this frame, release it from jitter buffer.
audio_buffer_->ReleaseFrame((*audio_frame)->frame_id);
return false;