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

Issue 1308953004: AndroidVideoCapturer: Delegate framerate choice to VideoCapturerAndroid.java (Closed)

Created:
5 years, 3 months ago by magjed_webrtc
Modified:
5 years, 3 months ago
Reviewers:
AlexG
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

AndroidVideoCapturer: Delegate framerate choice to VideoCapturerAndroid.java webrtc::VideoSource resolves the kMaxFrameRate constraint by capping the desired framerate to kMaxFrameRate. That framerate is then passed into cricket::VideoCapturer::GetBestCaptureFormat(). The default implementation will choose a format from the supported formats list. Instead, we should override this function in AndroidVideoCapturer to give VideoCapturerAndroid.java the opportunity to choose a suitable framerate range. BUG=webrtc:4938 R=glaznev@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/6ec1f921b1186127467393dc82c0a786e0de4e2b

Patch Set 1 #

Patch Set 2 : return true #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -10 lines) Patch
M talk/app/webrtc/androidvideocapturer.h View 1 chunk +4 lines, -0 lines 0 comments Download
M talk/app/webrtc/androidvideocapturer.cc View 1 2 chunks +12 lines, -5 lines 0 comments Download
M talk/app/webrtc/videosource.cc View 1 1 chunk +2 lines, -5 lines 1 comment Download

Messages

Total messages: 6 (2 generated)
magjed_webrtc
Please take a look. https://codereview.webrtc.org/1308953004/diff/20001/talk/app/webrtc/videosource.cc File talk/app/webrtc/videosource.cc (left): https://codereview.webrtc.org/1308953004/diff/20001/talk/app/webrtc/videosource.cc#oldcode164 talk/app/webrtc/videosource.cc:164: return false; I removed this ...
5 years, 3 months ago (2015-08-27 13:50:23 UTC) #2
AlexG
lgtm
5 years, 3 months ago (2015-08-27 18:22:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308953004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308953004/20001
5 years, 3 months ago (2015-08-28 08:09:48 UTC) #5
magjed_webrtc
5 years, 3 months ago (2015-08-28 09:41:12 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
6ec1f921b1186127467393dc82c0a786e0de4e2b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698