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

Unified Diff: webrtc/audio/audio_send_stream.h

Issue 2405183002: Moving WebRtcVoiceMediaChannel::SendSetCodec to AudioSendStream. (Closed)
Patch Set: working version Created 4 years, 2 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
Index: webrtc/audio/audio_send_stream.h
diff --git a/webrtc/audio/audio_send_stream.h b/webrtc/audio/audio_send_stream.h
index 2e0b7aed584620aaddcdf6f8c92b3926389b73b9..4cf79a5822e4ec31f07ac47c98e118999d90b86b 100644
--- a/webrtc/audio/audio_send_stream.h
+++ b/webrtc/audio/audio_send_stream.h
@@ -15,6 +15,7 @@
#include "webrtc/api/call/audio_send_stream.h"
#include "webrtc/api/call/audio_state.h"
+#include "webrtc/api/rtpparameters.h"
the sun 2016/10/12 15:15:17 why?
minyue-webrtc 2016/10/12 18:59:21 No need now. In patch set 1, some moved function k
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/thread_checker.h"
#include "webrtc/call/bitrate_allocator.h"
@@ -61,6 +62,11 @@ class AudioSendStream final : public webrtc::AudioSendStream,
private:
VoiceEngine* voice_engine() const;
+ bool SetSendCodecs();
+ bool SetSendCodec(const webrtc::CodecInst& send_codec);
+ bool ApplyMaxSendBitrate();
+ bool HasSendCodec() const;
+
rtc::ThreadChecker thread_checker_;
rtc::TaskQueue* worker_queue_;
const webrtc::AudioSendStream::Config config_;

Powered by Google App Engine
This is Rietveld 408576698