| Index: webrtc/video_send_stream.h
|
| diff --git a/webrtc/video_send_stream.h b/webrtc/video_send_stream.h
|
| index 540f5be46232b82537ea6ed857f27c286dccf084..bc8773e70910030afa8cfb848cac749f0d525b61 100644
|
| --- a/webrtc/video_send_stream.h
|
| +++ b/webrtc/video_send_stream.h
|
| @@ -18,6 +18,7 @@
|
| #include "webrtc/config.h"
|
| #include "webrtc/frame_callback.h"
|
| #include "webrtc/stream.h"
|
| +#include "webrtc/transport.h"
|
| #include "webrtc/video_renderer.h"
|
|
|
| namespace webrtc {
|
| @@ -64,6 +65,10 @@ class VideoSendStream : public SendStream {
|
| };
|
|
|
| struct Config {
|
| + Config() = delete;
|
| + explicit Config(newapi::Transport* send_transport)
|
| + : send_transport(send_transport) {}
|
| +
|
| std::string ToString() const;
|
|
|
| struct EncoderSettings {
|
| @@ -110,6 +115,9 @@ class VideoSendStream : public SendStream {
|
| std::string c_name;
|
| } rtp;
|
|
|
| + // Transport for outgoing packets.
|
| + newapi::Transport* send_transport = nullptr;
|
| +
|
| // Called for each I420 frame before encoding the frame. Can be used for
|
| // effects, snapshots etc. 'nullptr' disables the callback.
|
| I420FrameCallback* pre_encode_callback = nullptr;
|
|
|