Henrik Boström
254bd32188
Update when/how requested_resolution throws for invalid parameters.
...
This CL makes `requested_resolution`, which is the C++ name for what
the spec calls scaleResolutionDownTo, align with the latest PR[1].
The PR says to ignore scaleResolutionDownBy when scaleResolutionDownTo
is specified as to be backwards compatible with scaleResolutionDownBy's
default scaling factors (e.g. 4:2:1). Ignoring is different than what
the code does today which is to throw an InvalidModificationError.
We don't want to throw or else get+setParameters() would throw by
default due to 4:2:1 defaults so the app would have to remember to
delete these attributes every time even though it never specified them
(Chrome has a bug here but fixing that would expose this problem, see
https://crbug.com/344943229 ).
[1] https://github.com/w3c/webrtc-extensions/pull/221
Bug: none
Change-Id: I21165c9b9f9ee7259d88b89f9ae58b862ea4521e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362260
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43002}
2024-09-11 09:45:08 +00:00
..
2023-06-09 14:14:12 +00:00
2024-05-16 10:39:10 +00:00
2024-09-04 08:45:44 +00:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2022-06-15 09:47:38 +00:00
2023-11-13 13:23:04 +00:00
2024-09-10 14:23:24 +00:00
2023-06-29 09:32:04 +00:00
2024-09-02 12:16:47 +00:00
2024-09-09 18:44:21 +00:00
2024-09-02 12:16:47 +00:00
2024-06-07 06:41:51 +00:00
2024-06-07 09:47:26 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2023-05-03 11:09:26 +00:00
2023-03-12 17:28:14 +00:00
2023-09-05 11:37:32 +00:00
2023-08-22 13:48:09 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2023-12-14 21:01:04 +00:00
2022-08-03 14:16:35 +00:00
2022-09-09 10:44:17 +00:00
2022-09-09 10:44:17 +00:00
2024-07-23 17:23:45 +00:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2022-10-12 11:23:22 +00:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-06-07 06:41:51 +00:00
2024-09-02 12:16:47 +00:00
2024-08-26 17:24:15 +00:00
2023-03-24 07:44:18 +00:00
2024-09-02 12:16:47 +00:00
2024-09-09 18:44:21 +00:00
2024-09-09 18:44:21 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-09 18:44:21 +00:00
2022-11-14 12:10:06 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2022-06-15 09:47:38 +00:00
2024-07-29 07:17:14 +00:00
2022-05-30 13:05:03 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-05-08 15:07:53 +00:00
2022-04-21 12:32:17 +00:00
2023-11-13 13:23:04 +00:00
2022-06-15 09:47:38 +00:00
2022-04-21 12:32:17 +00:00
2023-01-30 20:09:07 +00:00
2024-09-02 12:16:47 +00:00
2024-04-22 08:56:31 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-11 09:45:08 +00:00
2024-09-02 12:16:47 +00:00
2023-11-13 13:23:04 +00:00
2024-04-22 08:56:31 +00:00
2024-07-29 07:17:14 +00:00
2024-07-29 07:17:14 +00:00
2024-08-30 08:08:39 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2022-11-11 10:29:25 +00:00
2022-11-11 10:29:25 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-07-09 10:30:26 +00:00
2024-06-07 06:41:51 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-10 14:23:24 +00:00
2024-09-02 12:16:47 +00:00
2024-06-07 09:47:26 +00:00
2024-09-10 08:29:26 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2024-07-03 12:27:55 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-06-05 08:59:49 +00:00
2024-09-02 12:16:47 +00:00
2024-04-25 07:54:28 +00:00
2024-09-03 11:56:22 +00:00
2024-09-03 11:56:22 +00:00
2024-09-03 11:56:22 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-03 11:56:22 +00:00
2024-09-03 11:56:22 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-07-30 15:07:25 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-05-27 12:51:11 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2023-05-03 11:09:26 +00:00
2024-02-08 14:34:04 +00:00
2023-09-18 10:09:02 +00:00
2024-09-02 12:16:47 +00:00
2023-09-18 10:09:02 +00:00
2024-09-02 12:16:47 +00:00
2024-08-19 05:17:18 +00:00
2023-11-08 10:24:10 +00:00
2023-11-08 10:24:10 +00:00
2024-07-08 15:33:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-02-08 12:52:58 +00:00
2024-02-08 12:52:58 +00:00
2023-11-13 13:23:04 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2023-03-24 07:44:18 +00:00
2023-03-24 07:44:18 +00:00
2024-09-02 12:16:47 +00:00
2023-03-24 07:44:18 +00:00
2024-09-02 12:16:47 +00:00
2022-06-15 09:47:38 +00:00
2022-09-09 10:44:17 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-09-02 12:16:47 +00:00
2024-05-16 10:22:23 +00:00
2024-09-02 12:16:47 +00:00
2024-02-08 14:34:04 +00:00