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

Issue 1863893002: MediaStreamRecorder: Separate video/audio origin of timestamps for WebM muxer (Closed)

Created:
4 years, 8 months ago by mcasas
Modified:
4 years, 8 months ago
Reviewers:
miu
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaStreamRecorder: Separate video/audio origin of timestamps for WebM muxer In certain conditions (see bug), the origin of timestamps for audio and video is quite separated which causes a jump on the WebM frame timestamps. This seems to be an issue for certain players (chrome) and not so much for others (vlc). This CL solves the problem by keeping a different origin-of-timestamps for audio and video separately, and passing a TimeDelta to the AddFrame() method. See the bug for an investigation as to why this started happening recently. BUG=597034 TEST=On my Win7 laptop, navigate to [1], record stream for a few seconds, then stop recording and try playing back. With this CL, no freeze. [1] https://webrtc.github.io/samples/src/content/getusermedia/record/ Committed: https://crrev.com/aa575cd9100984ba7cf7fc0377d7c5d40abbdb5f Cr-Commit-Position: refs/heads/master@{#385899}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -18 lines) Patch
M media/muxers/webm_muxer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M media/muxers/webm_muxer.cc View 5 chunks +18 lines, -16 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
mcasas
miu@ PTAL
4 years, 8 months ago (2016-04-06 00:33:43 UTC) #3
miu
lgtm, HOWEVER: The reason the timestamps are far apart is because there is more/less playout ...
4 years, 8 months ago (2016-04-06 00:49:01 UTC) #4
mcasas
On 2016/04/06 00:49:01, miu wrote: > lgtm, HOWEVER: The reason the timestamps are far apart ...
4 years, 8 months ago (2016-04-06 19:45:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863893002/1
4 years, 8 months ago (2016-04-06 21:06:49 UTC) #8
mcasas
On 2016/04/06 21:06:49, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 8 months ago (2016-04-06 21:10:00 UTC) #9
commit-bot: I haz the power
Exceeded global retry quota
4 years, 8 months ago (2016-04-07 00:35:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863893002/1
4 years, 8 months ago (2016-04-07 16:02:15 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/193050)
4 years, 8 months ago (2016-04-07 17:09:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863893002/1
4 years, 8 months ago (2016-04-07 17:15:41 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/193083)
4 years, 8 months ago (2016-04-07 18:24:28 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863893002/1
4 years, 8 months ago (2016-04-07 21:39:23 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-07 22:15:58 UTC) #23
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 22:18:13 UTC) #25
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/aa575cd9100984ba7cf7fc0377d7c5d40abbdb5f
Cr-Commit-Position: refs/heads/master@{#385899}

Powered by Google App Engine
This is Rietveld 408576698