RESOLVED FIXED 190266
Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
https://bugs.webkit.org/show_bug.cgi?id=190266
Summary Add support for reporting "display composited video frames" through the Video...
Jer Noble
Reported 2018-10-03 15:31:57 PDT
Add support for reporting "display composited video frames" through the VideoPlaybackQuality object.
Attachments
Patch (28.26 KB, patch)
2018-10-03 15:37 PDT, Jer Noble
no flags
Patch (16.99 KB, patch)
2018-10-03 17:36 PDT, Jer Noble
no flags
Patch (28.65 KB, patch)
2018-10-03 17:38 PDT, Jer Noble
no flags
Patch (28.70 KB, patch)
2018-10-03 17:46 PDT, Jer Noble
no flags
Patch for landing (28.97 KB, patch)
2018-10-04 10:51 PDT, Jer Noble
no flags
Patch for landing (29.18 KB, patch)
2018-10-04 11:29 PDT, Jer Noble
no flags
Patch for landing (30.11 KB, patch)
2018-10-04 11:51 PDT, Jer Noble
no flags
Patch for landing (30.67 KB, patch)
2018-10-04 12:00 PDT, Jer Noble
no flags
Patch for landing (31.47 KB, patch)
2018-10-04 12:08 PDT, Jer Noble
no flags
Archive of layout-test-results from ews100 for mac-sierra (2.33 MB, application/zip)
2018-10-04 13:18 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-sierra-wk2 (2.96 MB, application/zip)
2018-10-04 13:28 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews117 for mac-sierra (3.47 MB, application/zip)
2018-10-04 14:00 PDT, EWS Watchlist
no flags
Patch for landing (31.80 KB, patch)
2018-10-04 14:32 PDT, Jer Noble
no flags
Patch for landing (31.83 KB, patch)
2018-10-04 16:11 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2018-10-03 15:37:36 PDT
Jer Noble
Comment 2 2018-10-03 17:36:03 PDT
Jer Noble
Comment 3 2018-10-03 17:38:04 PDT
Jer Noble
Comment 4 2018-10-03 17:46:56 PDT
Eric Carlson
Comment 5 2018-10-03 21:32:29 PDT
Comment on attachment 351568 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=351568&action=review r=me once the bots are happy > Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h:38 > + static Ref<VideoPlaybackQuality> create(double creationTime, const VideoPlaybackQualityMetrics&); VideoPlaybackQualityMetrics&& ? > Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h:48 > + VideoPlaybackQuality(double creationTime, const VideoPlaybackQualityMetrics&); Ditto
Jer Noble
Comment 6 2018-10-04 10:45:35 PDT
(In reply to Eric Carlson from comment #5) > Comment on attachment 351568 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=351568&action=review > > r=me once the bots are happy > > > Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h:38 > > + static Ref<VideoPlaybackQuality> create(double creationTime, const VideoPlaybackQualityMetrics&); > > VideoPlaybackQualityMetrics&& ? > > > Source/WebCore/Modules/mediasource/VideoPlaybackQuality.h:48 > > + VideoPlaybackQuality(double creationTime, const VideoPlaybackQualityMetrics&); > > Ditto This would imply that the VideoPlaybackQuality object was taking these values directly from the passed in struct. That might make sense if we were literally storing those values in an VideoPlaybackQualityMetrics ivar, but we only using the values themselves.
Jer Noble
Comment 7 2018-10-04 10:51:08 PDT
Created attachment 351600 [details] Patch for landing
Jer Noble
Comment 8 2018-10-04 11:29:00 PDT
Created attachment 351606 [details] Patch for landing
Jer Noble
Comment 9 2018-10-04 11:51:14 PDT
Created attachment 351608 [details] Patch for landing
Jer Noble
Comment 10 2018-10-04 12:00:29 PDT
Created attachment 351609 [details] Patch for landing
Jer Noble
Comment 11 2018-10-04 12:08:26 PDT
Created attachment 351610 [details] Patch for landing
Jer Noble
Comment 12 2018-10-04 13:10:09 PDT
EWS Watchlist
Comment 13 2018-10-04 13:18:35 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 14 2018-10-04 13:18:37 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 15 2018-10-04 13:28:54 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 16 2018-10-04 13:28:56 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 17 2018-10-04 14:00:52 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 18 2018-10-04 14:00:54 PDT Comment hidden (obsolete)
Jer Noble
Comment 19 2018-10-04 14:32:12 PDT
Created attachment 351633 [details] Patch for landing
Jer Noble
Comment 20 2018-10-04 16:11:51 PDT
Created attachment 351640 [details] Patch for landing
WebKit Commit Bot
Comment 21 2018-10-04 18:11:30 PDT
Comment on attachment 351640 [details] Patch for landing Clearing flags on attachment: 351640 Committed r236866: <https://trac.webkit.org/changeset/236866>
WebKit Commit Bot
Comment 22 2018-10-04 18:11:32 PDT
All reviewed patches have been landed. Closing bug.
Antoine Quint
Comment 23 2018-10-04 23:27:29 PDT
My debug build failed because of this commit: In file included from /Users/antoine/Code/safari/OpenSource/Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:38: PAL/pal/spi/mac/AVFoundationSPI.h:191:4: error: expected a type - (AVVideoPerformanceMetrics *)videoPerformanceMetrics; ^ PAL/pal/spi/mac/AVFoundationSPI.h:191:1: error: method has no return type specified; defaults to 'id' [-Werror,-Wmissing-method-return-type] - (AVVideoPerformanceMetrics *)videoPerformanceMetrics; ^ 2 errors generated.
Chris Dumez
Comment 24 2018-10-05 08:50:42 PDT
(In reply to Antoine Quint from comment #23) > My debug build failed because of this commit: > > In file included from > /Users/antoine/Code/safari/OpenSource/Source/WebCore/platform/graphics/ > avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:38: > PAL/pal/spi/mac/AVFoundationSPI.h:191:4: error: expected a type > - (AVVideoPerformanceMetrics *)videoPerformanceMetrics; > ^ > PAL/pal/spi/mac/AVFoundationSPI.h:191:1: error: method has no return type > specified; defaults to 'id' [-Werror,-Wmissing-method-return-type] > - (AVVideoPerformanceMetrics *)videoPerformanceMetrics; > ^ > 2 errors generated. Same here.
Ryan Haddad
Comment 25 2018-10-05 08:58:47 PDT
Reverted r236866 for reason: Breaks internal builds. Committed r236874: <https://trac.webkit.org/changeset/236874>
Jer Noble
Comment 26 2018-10-05 09:04:52 PDT
Jer Noble
Comment 27 2018-10-05 09:39:49 PDT
Note You need to log in before you can comment on or make changes to this bug.