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

Side by Side Diff: webrtc/media/webrtc/nullwebrtcvideoengine.h

Issue 1670153003: Introduce struct MediaConfig, with construction-time settings. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Split into three separate tests. Created 4 years, 10 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2016 Google Inc. 3 * Copyright 2016 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const std::vector<VideoCodec>& codecs() { 61 const std::vector<VideoCodec>& codecs() {
62 return codecs_; 62 return codecs_;
63 } 63 }
64 64
65 RtpCapabilities GetCapabilities() { 65 RtpCapabilities GetCapabilities() {
66 RtpCapabilities capabilities; 66 RtpCapabilities capabilities;
67 return capabilities; 67 return capabilities;
68 } 68 }
69 69
70 VideoMediaChannel* CreateChannel(webrtc::Call* call, 70 VideoMediaChannel* CreateChannel(webrtc::Call* call,
71 const MediaConfig& config,
71 const VideoOptions& options) { 72 const VideoOptions& options) {
72 return nullptr; 73 return nullptr;
73 } 74 }
74 75
75 private: 76 private:
76 std::vector<VideoCodec> codecs_; 77 std::vector<VideoCodec> codecs_;
77 }; 78 };
78 79
79 } // namespace cricket 80 } // namespace cricket
80 81
81 #endif // WEBRTC_MEDIA_WEBRTC_NULLWEBRTCVIDEOENGINE_H_ 82 #endif // WEBRTC_MEDIA_WEBRTC_NULLWEBRTCVIDEOENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698