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

Unified Diff: talk/media/base/mediachannel.h

Issue 1505253004: Support for remote audio into tracks (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: New AudioSink added Created 5 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 side-by-side diff with in-line comments
Download patch
Index: talk/media/base/mediachannel.h
diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h
index fe223bba0418d27454aae73cb6b3dc2be3df392a..eebfdb074045624071481e170df07992055e3ff4 100644
--- a/talk/media/base/mediachannel.h
+++ b/talk/media/base/mediachannel.h
@@ -31,9 +31,11 @@
#include <string>
#include <vector>
+#include "talk/media/base/audiorenderer.h"
perkj_webrtc 2015/12/13 19:26:48 nit , no need since it is still used as a pointer.
tommi 2015/12/13 19:46:33 Done.
#include "talk/media/base/codec.h"
#include "talk/media/base/constants.h"
#include "talk/media/base/streamparams.h"
+#include "webrtc/audio/audio_sink.h"
#include "webrtc/base/basictypes.h"
#include "webrtc/base/buffer.h"
#include "webrtc/base/dscp.h"
@@ -53,7 +55,6 @@ class Timing;
namespace cricket {
-class AudioRenderer;
struct RtpHeader;
class ScreencastId;
struct VideoFormat;
@@ -1028,6 +1029,9 @@ class VoiceMediaChannel : public MediaChannel {
virtual bool InsertDtmf(uint32_t ssrc, int event, int duration) = 0;
// Gets quality stats for the channel.
virtual bool GetStats(VoiceMediaInfo* info) = 0;
+
+ virtual void SetRawAudioSink(uint32_t ssrc,
+ rtc::scoped_ptr<webrtc::AudioSink> sink) = 0;
};
struct VideoSendParameters : RtpSendParameters<VideoCodec, VideoOptions> {

Powered by Google App Engine
This is Rietveld 408576698