Gerald Squelart
5399574d8b
Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
...
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.
Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-08 23:59:35 +00:00
Cristian Tuns
1aeac93d23
Backed out 5 changesets (bug 1738627) for causing xpcshell failures on test_ext_geckoProfiler_schema.js CLOSED TREE
...
Backed out changeset 42d385d7da97 (bug 1738627)
Backed out changeset edeb3a338954 (bug 1738627)
Backed out changeset 98f02e35134d (bug 1738627)
Backed out changeset 711daa6dd24b (bug 1738627)
Backed out changeset 49e12753a40c (bug 1738627)
2021-11-05 05:12:28 -04:00
Gerald Squelart
7fa084ae7c
Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
...
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.
Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-05 05:52:28 +00:00
Gerald Squelart
df50ece611
Bug 1735697 - Remove profiler_can_accept_markers(), use profiler_thread_is_being_profiled() instead - r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D128577
2021-10-18 23:11:30 +00:00
Paul Adenot
c6826b9fad
Bug 1678373 - Remove mAudibleState. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D127559
2021-10-12 09:03:57 +00:00
Paul Adenot
53a1455dd0
Bug 1678373 - Don't count muted time without an audio track, but start counting time as soon as an audio track is added. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D126912
2021-10-12 09:03:57 +00:00
Paul Adenot
4fc0ee5c2f
Bug 1678373 - Count muted time correct when seeking while muted. r=alwu
...
The counter was paused, but `mIsMuted` was getting desynchronized. It's best to
reset the media element muted state, visibility and media content when paused,
they are set again properly in ::Play, preventing any issue.
It is necessary to reset the media content after reporting telemetry, because a
media content of MEDIA_HAS_NOTHING isn't reported.
Differential Revision: https://phabricator.services.mozilla.com/D125845
2021-10-12 09:03:56 +00:00
Paul Adenot
21e320dce3
Bug 1678373 - Add telemetry probes for audible and muted media. r=alwu data-review=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D125694
2021-10-12 09:03:56 +00:00
Paul Adenot
936ad65f00
Bug 1678373 - Add a telemetry probe for understanding how media content with audio content is played back. r=alwu data-review=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D125089
2021-10-12 09:03:53 +00:00
Paul Adenot
5f6c907318
Bug 1678373 - Add a way to measure the duration a media was muted. r=alwu,webidl,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125088
2021-10-12 09:03:53 +00:00
Paul Adenot
cb97543632
Bug 1678373 - Fix a typo in the accumulator names. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125087
2021-10-12 09:03:52 +00:00
Paul Adenot
2a5cb9f5c5
Bug 1678373 - Expose audio telemetry counters as chrome-only attributes like their video counterparts. r=alwu,webidl,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125084
2021-10-12 09:03:52 +00:00
Paul Adenot
a643e3040d
Bug 1678373 - Add initial accumulator for audio. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125079
2021-10-12 09:03:50 +00:00
Paul Adenot
9ddb85b05e
Bug 1678373 - Add a way to specify the type of content (audio/video/both) in the TelemetryProbesReporter, change a bit visibility event handling. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125078
2021-10-12 09:03:50 +00:00
Paul Adenot
eb52e18da9
Bug 1678373 - Move the call to report that media telemetry has been reported. r=alwu
...
Needed for report audio telemetry in a later patch.
Differential Revision: https://phabricator.services.mozilla.com/D125077
2021-10-12 09:03:49 +00:00
Paul Adenot
6aad3013d8
Bug 1678373 - Rename mTotalPlayTime and friends to mention it's about video. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125075
2021-10-12 09:03:48 +00:00
Alexandru Michis
26c14b3225
Backed out 24 changesets (bug 1678373) for causing bc failures in browser_tab_visibility_and_play_time.js
...
CLOSED TREE
Backed out changeset 1886dbd81c46 (bug 1678373)
Backed out changeset aeff26b5b1ae (bug 1678373)
Backed out changeset 261d8e4483d4 (bug 1678373)
Backed out changeset 89cb5ae23632 (bug 1678373)
Backed out changeset b1eaedd192ab (bug 1678373)
Backed out changeset 58a3eb19c818 (bug 1678373)
Backed out changeset b027ec789cbe (bug 1678373)
Backed out changeset fd596a84feb9 (bug 1678373)
Backed out changeset 1f0ed0392ae2 (bug 1678373)
Backed out changeset ac2be1df81af (bug 1678373)
Backed out changeset bf6d47905d78 (bug 1678373)
Backed out changeset a9fe4f310962 (bug 1678373)
Backed out changeset a15316058968 (bug 1678373)
Backed out changeset 217cdfd46120 (bug 1678373)
Backed out changeset c33c8411129b (bug 1678373)
Backed out changeset 3b854fc36abf (bug 1678373)
Backed out changeset e47c82bcb49a (bug 1678373)
Backed out changeset 2a77cbba1c9f (bug 1678373)
Backed out changeset 65206afede36 (bug 1678373)
Backed out changeset bd04930155f4 (bug 1678373)
Backed out changeset 034e8edd4619 (bug 1678373)
Backed out changeset ed1e56487c4c (bug 1678373)
Backed out changeset b7673d20c521 (bug 1678373)
Backed out changeset 5a93251e2fea (bug 1678373)
2021-10-07 20:36:47 +03:00
Paul Adenot
a76e403529
Bug 1678373 - Remove mAudibleState. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D127559
2021-10-07 15:44:59 +00:00
Paul Adenot
c3e0d55a5d
Bug 1678373 - Don't count muted time without an audio track, but start counting time as soon as an audio track is added. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D126912
2021-10-07 15:44:58 +00:00
Paul Adenot
13eff79a3a
Bug 1678373 - Count muted time correct when seeking while muted. r=alwu
...
The counter was paused, but `mIsMuted` was getting desynchronized. It's best to
reset the media element muted state, visibility and media content when paused,
they are set again properly in ::Play, preventing any issue.
It is necessary to reset the media content after reporting telemetry, because a
media content of MEDIA_HAS_NOTHING isn't reported.
Differential Revision: https://phabricator.services.mozilla.com/D125845
2021-10-07 15:44:58 +00:00
Paul Adenot
dc9fb0994e
Bug 1678373 - Add telemetry probes for audible and muted media. r=alwu data-review=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D125694
2021-10-07 15:44:57 +00:00
Paul Adenot
410e29319c
Bug 1678373 - Add a telemetry probe for understanding how media content with audio content is played back. r=alwu data-review=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D125089
2021-10-07 15:44:54 +00:00
Paul Adenot
82125c0639
Bug 1678373 - Add a way to measure the duration a media was muted. r=alwu,webidl,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125088
2021-10-07 15:44:54 +00:00
Paul Adenot
ef0bfbff05
Bug 1678373 - Fix a typo in the accumulator names. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125087
2021-10-07 15:44:54 +00:00
Paul Adenot
6dc847cdf6
Bug 1678373 - Expose audio telemetry counters as chrome-only attributes like their video counterparts. r=alwu,webidl,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125084
2021-10-07 15:44:53 +00:00
Paul Adenot
16baeacc14
Bug 1678373 - Add initial accumulator for audio. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125079
2021-10-07 15:44:51 +00:00
Paul Adenot
d7ef88efff
Bug 1678373 - Add a way to specify the type of content (audio/video/both) in the TelemetryProbesReporter, change a bit visibility event handling. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125078
2021-10-07 15:44:51 +00:00
Paul Adenot
26de5c39a8
Bug 1678373 - Move the call to report that media telemetry has been reported. r=alwu
...
Needed for report audio telemetry in a later patch.
Differential Revision: https://phabricator.services.mozilla.com/D125077
2021-10-07 15:44:51 +00:00
Paul Adenot
b934a76011
Bug 1678373 - Rename mTotalPlayTime and friends to mention it's about video. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125075
2021-10-07 15:44:50 +00:00
alwu
726674ac63
Bug 1730020 - part3 : add gtest. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D126423
2021-10-04 22:30:10 +00:00
alwu
929314f612
Bug 1730020 - part2 : add profiler markers to show additional information. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D126148
2021-10-04 22:30:10 +00:00
alwu
ef02e7ebc4
Bug 1730020 - part1 : implement a new class to record the time which each stage of media pinepline spends on. r=bryce,padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D125140
2021-10-04 22:30:09 +00:00
Butkovits Atila
80c02069eb
Backed out 4 changesets (bug 1730020) for causing build bustages. CLOSED TREE
...
Backed out changeset 580203e4b76a (bug 1730020)
Backed out changeset b57ce3e0f39f (bug 1730020)
Backed out changeset 085fb78aac06 (bug 1730020)
Backed out changeset 8799f103c043 (bug 1730020)
2021-10-04 21:33:41 +03:00
alwu
05c88c86b4
Bug 1730020 - part3 : add gtest. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D126423
2021-10-04 17:34:51 +00:00
alwu
5acf83da7a
Bug 1730020 - part2 : add profiler markers to show additional information. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D126148
2021-10-04 17:34:51 +00:00
alwu
16acb5147b
Bug 1730020 - part1 : implement a new class to record the time which each stage of media pinepline spends on. r=bryce,padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D125140
2021-10-04 17:34:50 +00:00
Bryce Seager van Dyk
83332521e5
Bug 1711912 - Move key system name constants into their own header. r=alwu
...
Move constants and fix up includes following doing so.
This is motivated by that future patches will want to use these constants in the
clear key CDM. If we don't move these constants and try to include the existing
VideoUtils in the clear key CDM this will break the build (because the clear key
CDM uses a restricted subset of the stuff we get in Gecko).
Differential Revision: https://phabricator.services.mozilla.com/D122631
2021-08-19 17:14:08 +00:00
Marian-Vasile Laza
d479928bd4
Backed out 6 changesets (bug 1711912) for causing build bustages on MediaKeySystemAccessManager.cpp. CLOSED TREE
...
Backed out changeset b07f45562c35 (bug 1711912)
Backed out changeset 3e825fc0f7d3 (bug 1711912)
Backed out changeset 964d14b3352e (bug 1711912)
Backed out changeset b941cfb1f5ae (bug 1711912)
Backed out changeset fde1d605fce1 (bug 1711912)
Backed out changeset b135eb6bb7db (bug 1711912)
2021-08-19 01:46:57 +03:00
Bryce Seager van Dyk
194eb89e9c
Bug 1711912 - Move key system name constants into their own header. r=alwu
...
Move constants and fix up includes following doing so.
This is motivated by that future patches will want to use these constants in the
clear key CDM. If we don't move these constants and try to include the existing
VideoUtils in the clear key CDM this will break the build (because the clear key
CDM uses a restricted subset of the stuff we get in Gecko).
Differential Revision: https://phabricator.services.mozilla.com/D122631
2021-08-18 21:28:27 +00:00
Marian-Vasile Laza
21972e53f0
Backed out 6 changesets (bug 1711912) for causing build bustages on MediaKeySystemAccessManager.cpp. CLOSED TREE
...
Backed out changeset a3c678c2c608 (bug 1711912)
Backed out changeset db34f1ec3a86 (bug 1711912)
Backed out changeset 10639e1dbb6e (bug 1711912)
Backed out changeset f6aeda8b4fca (bug 1711912)
Backed out changeset 2aa33cd01f67 (bug 1711912)
Backed out changeset 0a2af5ba370f (bug 1711912)
2021-08-18 23:03:28 +03:00
Bryce Seager van Dyk
f1d244ed3a
Bug 1711912 - Move key system name constants into their own header. r=alwu
...
Move constants and fix up includes following doing so.
This is motivated by that future patches will want to use these constants in the
clear key CDM. If we don't move these constants and try to include the existing
VideoUtils in the clear key CDM this will break the build (because the clear key
CDM uses a restricted subset of the stuff we get in Gecko).
Differential Revision: https://phabricator.services.mozilla.com/D122631
2021-08-18 18:38:15 +00:00
alwu
01fee60b95
Bug 1723799 - part2 : add test. r=padenot,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D121681
2021-08-09 19:30:12 +00:00
alwu
eb11267218
Bug 1723799 - part1 : collect height for visible video playtime. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D121680
2021-08-09 19:30:11 +00:00
Paul Adenot
c59e733060
Bug 1685503 - Use AwakeTimeStamp to count time for media telemetry. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D112797
2021-05-05 09:24:51 +00:00
Cosmin Sabou
799b5200ae
Backed out changeset bc141a334421 (bug 1685503) for windows browser chrome failures on browser_tab_visibility_and_play_time.js CLOSED TREE
2021-04-29 18:35:43 +03:00
Paul Adenot
2f3c1253f9
Bug 1685503 - Use AwakeTimeStamp to count time for media telemetry. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D112797
2021-04-29 11:45:42 +00:00
smolnar
66bc0de987
Backed out changeset 36427e64399a (bug 1685503) for causing build bustages. CLOSED TREE
2021-04-21 16:11:09 +03:00
Paul Adenot
f3aa75b833
Bug 1685503 - Use AwakeTimeStamp to count time for media telemetry. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D112797
2021-04-21 12:55:54 +00:00
Bryce Seager van Dyk
4f5780010c
Bug 1696034 - Restore code to record VIDEO_ENCRYPTED_PLAY_TIME_MS probe. r=alwu
...
This code didn't make it across when we reworked how we record our playback
probes. However, it's a useful checksum to compare against our Widevine
playtime + as a general data point. This patch restores the code to record the
probe.
Differential Revision: https://phabricator.services.mozilla.com/D107072
2021-04-05 14:32:14 +00:00
alwu
03e5d18219
Bug 1688128 - update last dispatched time after dispatching timeupdate event. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D105064
2021-02-16 16:59:11 +00:00