Support 720P in portait as maximum on iOS.
BUG=4643 TEST=Manual Test and trybots R=tkchin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/53419004 Cr-Commit-Position: refs/heads/master@{#9214}
This commit is contained in:
parent
8db8069660
commit
b92be45c85
@ -62,10 +62,11 @@ 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)
|
#if defined(ANDROID) || defined(WEBRTC_IOS)
|
||||||
// Limit default max video codec size for Android to avoid
|
// Limit default max video codec size for Android to avoid
|
||||||
// HW VP8 codec initialization failure for resolutions higher
|
// HW VP8 codec initialization failure for resolutions higher
|
||||||
// than 1280x720 or 720x1280.
|
// than 1280x720 or 720x1280.
|
||||||
|
// Same patch for iOS to support 720P in portrait mode.
|
||||||
const int JsepSessionDescription::kMaxVideoCodecWidth = 1280;
|
const int JsepSessionDescription::kMaxVideoCodecWidth = 1280;
|
||||||
const int JsepSessionDescription::kMaxVideoCodecHeight = 1280;
|
const int JsepSessionDescription::kMaxVideoCodecHeight = 1280;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user