Index: webrtc/audio_send_stream.h |
diff --git a/webrtc/audio_send_stream.h b/webrtc/audio_send_stream.h |
index 9ac78da06d256f76fab754d41b011b4c03f1cada..4f67e2794080998eb06e36e5ffe3f31b0bfcafc7 100644 |
--- a/webrtc/audio_send_stream.h |
+++ b/webrtc/audio_send_stream.h |
@@ -18,6 +18,7 @@ |
#include "webrtc/config.h" |
#include "webrtc/modules/audio_coding/codecs/audio_encoder.h" |
#include "webrtc/stream.h" |
+#include "webrtc/transport.h" |
#include "webrtc/typedefs.h" |
namespace webrtc { |
@@ -27,6 +28,10 @@ class AudioSendStream : public SendStream { |
struct Stats {}; |
struct Config { |
+ Config() = delete; |
+ explicit Config(newapi::Transport* send_transport) |
+ : send_transport(send_transport) {} |
+ |
std::string ToString() const; |
// Receive-stream specific RTP settings. |
@@ -40,6 +45,9 @@ class AudioSendStream : public SendStream { |
std::vector<RtpExtension> extensions; |
} rtp; |
+ // Transport for outgoing packets. |
+ newapi::Transport* send_transport; |
pbos-webrtc
2015/08/26 12:21:21
= nullptr for consistency
the sun
2015/08/27 08:42:20
Done.
|
+ |
rtc::scoped_ptr<AudioEncoder> encoder; |
int cng_payload_type = -1; // pt, or -1 to disable Comfort Noise Generator. |
int red_payload_type = -1; // pt, or -1 to disable REDundant coding. |