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

Side by Side Diff: talk/media/base/fakemediaengine.h

Issue 1374253002: Added functions on libjingle API to start and stop the recording of an RtcEventLog. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed more comments from the sun. Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/media/base/mediaengine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 bool SetOutputVolume(int level) { 809 bool SetOutputVolume(int level) {
810 output_volume_ = level; 810 output_volume_ = level;
811 options_changed_ = true; 811 options_changed_ = true;
812 return true; 812 return true;
813 } 813 }
814 814
815 int GetInputLevel() { return 0; } 815 int GetInputLevel() { return 0; }
816 816
817 bool StartAecDump(rtc::PlatformFile file) { return false; } 817 bool StartAecDump(rtc::PlatformFile file) { return false; }
818 818
819 bool StartRtcEventLog(rtc::PlatformFile file) { return false; }
820
821 void StopRtcEventLog() {}
822
819 private: 823 private:
820 std::vector<FakeVoiceMediaChannel*> channels_; 824 std::vector<FakeVoiceMediaChannel*> channels_;
821 std::vector<AudioCodec> codecs_; 825 std::vector<AudioCodec> codecs_;
822 int output_volume_; 826 int output_volume_;
823 std::string in_device_; 827 std::string in_device_;
824 std::string out_device_; 828 std::string out_device_;
825 AudioOptions options_; 829 AudioOptions options_;
826 830
827 friend class FakeMediaEngine; 831 friend class FakeMediaEngine;
828 }; 832 };
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 1014
1011 private: 1015 private:
1012 std::vector<FakeDataMediaChannel*> channels_; 1016 std::vector<FakeDataMediaChannel*> channels_;
1013 std::vector<DataCodec> data_codecs_; 1017 std::vector<DataCodec> data_codecs_;
1014 DataChannelType last_channel_type_; 1018 DataChannelType last_channel_type_;
1015 }; 1019 };
1016 1020
1017 } // namespace cricket 1021 } // namespace cricket
1018 1022
1019 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ 1023 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/media/base/mediaengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698