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

Issue 2444153002: MediaRecorder: bugfix start() means buffer-forever (Closed)

Created:
4 years, 1 month ago by mcasas
Modified:
4 years, 1 month ago
Reviewers:
Niklas Enbom, foolip
CC:
chromium-reviews, emircan+watch+mediarecorder_chromium.org, jam, mcasas+watch+mediarecorder_chromium.org, haraken, feature-media-reviews_chromium.org, darin-cc_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaRecorder: bugfix start() means buffer-forever MediaRecorder.start(optional timeslice) with |timeslice| == 0 means that MR will have to buffer forever or until stop() or requestData() is called; the current implementation wrongly assumes undefined |timeslice| to be a very small number. This CL corrects this bug. See https://bugs.chromium.org/p/chromium/issues/detail?id=567859#c10 and https://groups.google.com/a/chromium.org/d/msg/blink-dev/REYBYlU_iqE/VaTuPsQcBwAJ https://groups.google.com/d/msg/discuss-webrtc/HkJF_sm20zU/TDxWIs8kCQAJ BUG=567859 Committed: https://crrev.com/e2ab4313f9aad6c29633b07c58064052de8a44f6 Cr-Commit-Position: refs/heads/master@{#428738}

Patch Set 1 #

Patch Set 2 : removed WebMediaRecorderHandler::start() #

Total comments: 2

Patch Set 3 : s/start(1)/start(0)/ #

Messages

Total messages: 28 (18 generated)
mcasas
niklase@ RS plz (will wait to ship it until next week JIC).
4 years, 1 month ago (2016-10-28 17:28:42 UTC) #11
Niklas Enbom
Is this the final solution or a quick fix? If final, is WebMediaRecorderHandler::start() needed any ...
4 years, 1 month ago (2016-10-28 17:43:43 UTC) #12
mcasas
On 2016/10/28 17:43:43, Niklas Enbom wrote: > Is this the final solution or a quick ...
4 years, 1 month ago (2016-10-28 19:06:36 UTC) #13
mcasas
niklase@ PTAL foolip@ plz RS the nuking of one method in public/platform/WebMediaRecorderHandler.h
4 years, 1 month ago (2016-10-28 20:18:07 UTC) #16
Niklas Enbom
lgtm On 2016/10/28 20:18:07, mcasas wrote: > niklase@ PTAL > > foolip@ plz RS the ...
4 years, 1 month ago (2016-10-28 20:36:56 UTC) #17
foolip
lgtm % test nit https://codereview.chromium.org/2444153002/diff/80001/third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html File third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html (right): https://codereview.chromium.org/2444153002/diff/80001/third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html#newcode48 third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html:48: recorder.start(1); If recorder.start(0) is exactly ...
4 years, 1 month ago (2016-10-31 13:52:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2444153002/120001
4 years, 1 month ago (2016-10-31 15:34:56 UTC) #23
mcasas
https://codereview.chromium.org/2444153002/diff/80001/third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html File third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html (right): https://codereview.chromium.org/2444153002/diff/80001/third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html#newcode48 third_party/WebKit/LayoutTests/fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html:48: recorder.start(1); On 2016/10/31 13:52:31, foolip wrote: > If recorder.start(0) ...
4 years, 1 month ago (2016-10-31 16:17:19 UTC) #24
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 1 month ago (2016-10-31 16:33:15 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 16:46:00 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e2ab4313f9aad6c29633b07c58064052de8a44f6
Cr-Commit-Position: refs/heads/master@{#428738}

Powered by Google App Engine
This is Rietveld 408576698