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

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

Issue 1658533003: Remove unimplemented VideoChannel code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | talk/media/base/mediachannel.h » ('j') | talk/media/webrtc/webrtcvideoengine2_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/fakemediaengine.h
diff --git a/talk/media/base/fakemediaengine.h b/talk/media/base/fakemediaengine.h
index c17ab28b1bd18e0cdf52ac1b3b24ad6af577ed61..5d809a0260a11f1cb171573655904de567049d7f 100644
--- a/talk/media/base/fakemediaengine.h
+++ b/talk/media/base/fakemediaengine.h
@@ -441,10 +441,7 @@ class FakeVideoMediaChannel : public RtpHelper<VideoMediaChannel> {
public:
explicit FakeVideoMediaChannel(FakeVideoEngine* engine,
const VideoOptions& options)
- : engine_(engine),
- sent_intra_frame_(false),
- requested_intra_frame_(false),
- max_bps_(-1) {
+ : engine_(engine), max_bps_(-1) {
SetOptions(options);
}
@@ -545,19 +542,6 @@ class FakeVideoMediaChannel : public RtpHelper<VideoMediaChannel> {
}
virtual bool GetStats(VideoMediaInfo* info) { return false; }
- virtual bool SendIntraFrame() {
- sent_intra_frame_ = true;
- return true;
- }
- virtual bool RequestIntraFrame() {
- requested_intra_frame_ = true;
- return true;
- }
- virtual void UpdateAspectRatio(int ratio_w, int ratio_h) {}
- void set_sent_intra_frame(bool v) { sent_intra_frame_ = v; }
- bool sent_intra_frame() const { return sent_intra_frame_; }
- void set_requested_intra_frame(bool v) { requested_intra_frame_ = v; }
- bool requested_intra_frame() const { return requested_intra_frame_; }
private:
bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) {
@@ -606,8 +590,6 @@ class FakeVideoMediaChannel : public RtpHelper<VideoMediaChannel> {
std::map<uint32_t, VideoRenderer*> renderers_;
std::map<uint32_t, VideoFormat> send_formats_;
std::map<uint32_t, VideoCapturer*> capturers_;
- bool sent_intra_frame_;
- bool requested_intra_frame_;
VideoOptions options_;
int max_bps_;
};
« no previous file with comments | « no previous file | talk/media/base/mediachannel.h » ('j') | talk/media/webrtc/webrtcvideoengine2_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698