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

Unified Diff: webrtc/media/engine/simulcast.h

Issue 2636443002: Add experimental simulcast screen content mode (Closed)
Patch Set: Rebase, again Created 3 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 | webrtc/media/engine/simulcast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/simulcast.h
diff --git a/webrtc/media/engine/simulcast.h b/webrtc/media/engine/simulcast.h
index 20be4c487e443f5b20bc0e051d2931817590ca84..3aae70f59d55fff320256e5021ad1218822adda2 100644
--- a/webrtc/media/engine/simulcast.h
+++ b/webrtc/media/engine/simulcast.h
@@ -19,6 +19,7 @@
namespace cricket {
struct StreamParams;
+// TODO(sprang): Remove this, as we're moving away from temporal layer mode.
// Config for use with screen cast when temporal layers are enabled.
struct ScreenshareLayerConfig {
public:
@@ -45,12 +46,16 @@ int GetTotalMaxBitrateBps(const std::vector<webrtc::VideoStream>& streams);
void GetSimulcastSsrcs(const StreamParams& sp, std::vector<uint32_t>* ssrcs);
// Get simulcast settings.
+// TODO(sprang): Remove default parameter when it's not longer referenced.
std::vector<webrtc::VideoStream> GetSimulcastConfig(size_t max_streams,
int width,
int height,
int max_bitrate_bps,
int max_qp,
- int max_framerate);
+ int max_framerate,
+ bool is_screencast = false);
+
+bool UseSimulcastScreenshare();
} // namespace cricket
« no previous file with comments | « no previous file | webrtc/media/engine/simulcast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698