Temporary revert maximum video codec resolution back to 1080p.
BUG=3757, 3738 R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/27439004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7171 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -61,15 +61,8 @@ const int JsepSessionDescription::kDefaultVideoCodecId = 100;
|
|||||||
const int JsepSessionDescription::kDefaultVideoCodecFramerate = 60;
|
const int JsepSessionDescription::kDefaultVideoCodecFramerate = 60;
|
||||||
const char JsepSessionDescription::kDefaultVideoCodecName[] = "VP8";
|
const char JsepSessionDescription::kDefaultVideoCodecName[] = "VP8";
|
||||||
// Used as default max video codec size before we have it in signaling.
|
// Used as default max video codec size before we have it in signaling.
|
||||||
#if defined(ANDROID)
|
const int JsepSessionDescription::kMaxVideoCodecWidth = 1920;
|
||||||
// Limit default max video codec size for Android to avoid
|
const int JsepSessionDescription::kMaxVideoCodecHeight = 1080;
|
||||||
// HW VP8 codec initialization failure for resolution higher than 720p.
|
|
||||||
const int JsepSessionDescription::kMaxVideoCodecWidth = 1280;
|
|
||||||
const int JsepSessionDescription::kMaxVideoCodecHeight = 720;
|
|
||||||
#else
|
|
||||||
const int JsepSessionDescription::kMaxVideoCodecWidth = 3840;
|
|
||||||
const int JsepSessionDescription::kMaxVideoCodecHeight = 2160;
|
|
||||||
#endif
|
|
||||||
const int JsepSessionDescription::kDefaultVideoCodecPreference = 1;
|
const int JsepSessionDescription::kDefaultVideoCodecPreference = 1;
|
||||||
|
|
||||||
SessionDescriptionInterface* CreateSessionDescription(const std::string& type,
|
SessionDescriptionInterface* CreateSessionDescription(const std::string& type,
|
||||||
|
Reference in New Issue
Block a user