diff options
author | pwestin@google.com <pwestin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-08 16:47:34 +0000 |
---|---|---|
committer | pwestin@google.com <pwestin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-08 16:47:34 +0000 |
commit | 164f360df214abf6a1953a5835354e884c02565a (patch) | |
tree | 036f063c3788a5c37425d865dfb72493e4d5f6be /media/cast/cast_sender_impl.cc | |
parent | 0984bb742730b1584f4a8c4706d849f70df48d2d (diff) | |
download | chromium_src-164f360df214abf6a1953a5835354e884c02565a.zip chromium_src-164f360df214abf6a1953a5835354e884c02565a.tar.gz chromium_src-164f360df214abf6a1953a5835354e884c02565a.tar.bz2 |
Changed receiver API and added cast_receiver_impl
BUG=
Review URL: https://codereview.chromium.org/23500012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/cast/cast_sender_impl.cc')
-rw-r--r-- | media/cast/cast_sender_impl.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/media/cast/cast_sender_impl.cc b/media/cast/cast_sender_impl.cc index edefedd..bdf9304 100644 --- a/media/cast/cast_sender_impl.cc +++ b/media/cast/cast_sender_impl.cc @@ -99,11 +99,11 @@ class LocalCastSenderPacketReceiver : public PacketReceiver { base::WeakPtr<VideoSender> video_sender, uint32 ssrc_of_audio_sender, uint32 ssrc_of_video_sender) - : cast_thread_(cast_thread), - audio_sender_(audio_sender), - video_sender_(video_sender), - ssrc_of_audio_sender_(ssrc_of_audio_sender), - ssrc_of_video_sender_(ssrc_of_video_sender) {} + : cast_thread_(cast_thread), + audio_sender_(audio_sender), + video_sender_(video_sender), + ssrc_of_audio_sender_(ssrc_of_audio_sender), + ssrc_of_video_sender_(ssrc_of_video_sender) {} virtual void ReceivedPacket(const uint8* packet, int length, @@ -144,8 +144,8 @@ class LocalCastSenderPacketReceiver : public PacketReceiver { scoped_refptr<CastThread> cast_thread_; base::WeakPtr<AudioSender> audio_sender_; base::WeakPtr<VideoSender> video_sender_; - uint32 ssrc_of_audio_sender_; - uint32 ssrc_of_video_sender_; + const uint32 ssrc_of_audio_sender_; + const uint32 ssrc_of_video_sender_; }; CastSender* CastSender::CreateCastSender( |