Revert "Reland "Request refresh frame on resolution scaling changes""

This reverts commit 5f1aeff4440dc2b6d0c1b7649014fef4bdbfdc74.

Reason for revert: This CL may cause downstream tests to fail.

Original change's description:
> Reland "Request refresh frame on resolution scaling changes"
>
> This reverts commit df1ffee26f9f9c25fff305e44b29589f9d58e2d5.
>
> Reason for revert: Cl updated so that WPT test passes.
>
> Original change's description:
> > Revert "Request refresh frame on resolution scaling changes"
> >
> > This reverts commit 0ba5208d8f67eb0cecd6fbc31fa7ab6ee4e5d0a6.
> >
> > Reason for revert: Suspect this caused the following error in chrome:
> >
> > external/wpt/webrtc-encoded-transform/tentative/RTCEncodedFrame-timestamps.html
> >
> > https://ci.chromium.org/ui/p/chromium/builders/try/win-rel/1282304/overview
> >
> > Original change's description:
> > > Request refresh frame on resolution scaling changes
> > >
> > > When `scale_resolution_down_to` changes in `ConfigureEncoder`, the input
> > > resolution from the source is expected to change. To handle this
> > > cleanly, `RequestRefreshFrame` is now called to prompt the source for a
> > > frame matching the new constraints.
> > >
> > > Additionally, the immediate `ReconfigureEncoder` call is deferred if the
> > > resolution scaling has changed. The reconfiguration will instead occur
> > > upon the arrival of the next frame, ensuring the encoder is initialized
> > > with the correct resolution.
> > >
> > > Fixed: webrtc:467409350
> > > Change-Id: Icbd19531a45d130460f4763a945d764df3e5e0d2
> > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/432660
> > > Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
> > > Commit-Queue: Johannes Kron <kron@webrtc.org>
> > > Cr-Commit-Position: refs/heads/main@{#46473}
> >
> > Bug: webrtc:467409350
> > No-Presubmit: true
> > No-Tree-Checks: true
> > No-Try: true
> > Change-Id: I710abf84d42641c291fb3fb36bb0d42551504eae
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/433740
> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> > Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
> > Cr-Commit-Position: refs/heads/main@{#46482}
>
> Bug: webrtc:467409350
> Change-Id: I2b4eca73001db9b3516bdbe1fea9df281e41a147
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/441020
> Commit-Queue: Johannes Kron <kron@webrtc.org>
> Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#46598}

Bug: webrtc:467409350
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: I36dc644d1be3b5f96ae43763ab72c9932de75573
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/441340
Owners-Override: Johannes Kron <kron@webrtc.org>
Commit-Queue: Johannes Kron <kron@webrtc.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#46610}
2 files changed
tree: f6a87a5deb884b2fc5389f9c779483be9d00c1dd
  1. agents/
  2. api/
  3. audio/
  4. build_overrides/
  5. call/
  6. common_audio/
  7. common_video/
  8. data/
  9. docs/
  10. examples/
  11. experiments/
  12. g3doc/
  13. infra/
  14. logging/
  15. media/
  16. modules/
  17. net/
  18. p2p/
  19. pc/
  20. resources/
  21. rtc_base/
  22. rtc_tools/
  23. sdk/
  24. stats/
  25. system_wrappers/
  26. test/
  27. tools_webrtc/
  28. video/
  29. .clang-format
  30. .clang-tidy
  31. .git-blame-ignore-revs
  32. .gitignore
  33. .gn
  34. .mailmap
  35. .rustfmt.toml
  36. .style.yapf
  37. .vpython3
  38. AUTHORS
  39. BUILD.gn
  40. CODE_OF_CONDUCT.md
  41. codereview.settings
  42. DEPS
  43. DIR_METADATA
  44. ENG_REVIEW_OWNERS
  45. GEMINI.md
  46. LICENSE
  47. license_template.txt
  48. native-api.md
  49. OWNERS
  50. OWNERS_INFRA
  51. PATENTS
  52. PRESUBMIT.py
  53. presubmit_test.py
  54. presubmit_test_mocks.py
  55. pylintrc
  56. pylintrc_old_style
  57. README.chromium
  58. README.md
  59. WATCHLISTS
  60. webrtc.gni
  61. webrtc_lib_link_test.cc
  62. whitespace.txt
README.md

WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.

Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.

The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.

Development

See here for instructions on how to get started developing with the native code.

Authoritative list of directories that contain the native API header files.

More info