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

Unified Diff: webrtc/api/jsepsessiondescription.cc

Issue 2408153002: Remove cricket::VideoCodec with, height and framerate properties (Closed)
Patch Set: Rebased Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/jsepsessiondescription.h ('k') | webrtc/api/jsepsessiondescription_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/jsepsessiondescription.cc
diff --git a/webrtc/api/jsepsessiondescription.cc b/webrtc/api/jsepsessiondescription.cc
index 547a60f1c3a66b3597956f4fcf83047421f1c8d1..6f73a1e9fdbf54fbca2d7af0910c5484f055746d 100644
--- a/webrtc/api/jsepsessiondescription.cc
+++ b/webrtc/api/jsepsessiondescription.cc
@@ -43,21 +43,7 @@ const char SessionDescriptionInterface::kPrAnswer[] = "pranswer";
const char SessionDescriptionInterface::kAnswer[] = "answer";
const int JsepSessionDescription::kDefaultVideoCodecId = 100;
-// This is effectively a max value of the frame rate. 30 is default from camera.
-const int JsepSessionDescription::kDefaultVideoCodecFramerate = 60;
const char JsepSessionDescription::kDefaultVideoCodecName[] = "VP8";
-// Used as default max video codec size before we have it in signaling.
-#if defined(ANDROID) || defined(WEBRTC_IOS)
-// Limit default max video codec size for Android to avoid
-// HW VP8 codec initialization failure for resolutions higher
-// than 1280x720 or 720x1280.
-// Same patch for iOS to support 720P in portrait mode.
-const int JsepSessionDescription::kMaxVideoCodecWidth = 1280;
-const int JsepSessionDescription::kMaxVideoCodecHeight = 1280;
-#else
-const int JsepSessionDescription::kMaxVideoCodecWidth = 1920;
-const int JsepSessionDescription::kMaxVideoCodecHeight = 1080;
-#endif
SessionDescriptionInterface* CreateSessionDescription(const std::string& type,
const std::string& sdp,
« no previous file with comments | « webrtc/api/jsepsessiondescription.h ('k') | webrtc/api/jsepsessiondescription_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698