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

Unified Diff: webrtc/audio_receive_stream.h

Issue 1949533002: WIP: Move the creation of AudioCodecFactory into PeerConnectionFactory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Retained Channel API by adding overloads; also add intended AudioReceiveStream API Created 4 years, 7 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_receive_stream.h
diff --git a/webrtc/audio_receive_stream.h b/webrtc/audio_receive_stream.h
index 6d72b4d3185037e6679faced29c8f0dc326b9627..f4643d45f725af1bfc6d534620e88950b2fd3944 100644
--- a/webrtc/audio_receive_stream.h
+++ b/webrtc/audio_receive_stream.h
@@ -24,6 +24,7 @@
namespace webrtc {
class AudioDecoder;
+class AudioDecoderFactory;
class AudioSinkInterface;
// WORK IN PROGRESS
@@ -101,6 +102,8 @@ class AudioReceiveStream {
// Call::CreateReceiveStream().
// TODO(solenberg): Use unique_ptr<> once our std lib fully supports C++11.
std::map<uint8_t, AudioDecoder*> decoder_map;
+
+ std::shared_ptr<AudioDecoderFactory> decoder_factory;
};
// Starts stream activity.

Powered by Google App Engine
This is Rietveld 408576698