feat(libwebrtc): implement webrtc::VideoFrame::render_time_ms #15276

Merged
alvaroelpob merged 25 commits from upstream-pr/15276 into main 2026-11-08 12:59:25 +00:00
alvaroelpob commented 2026-11-02 22:37:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by alvaroelpob on 2026-11-02T22:37:29Z.


What

Implements webrtc::VideoFrame::render_time_ms() const in libwebrtc, which threw and was declared without parameters.

The module's WebRTC revision lies between M127 and M134, as recorded in the debt file. video_frame.cc (M127, M134) returns timestamp_us() divided by 1000 at both. timestamp_us_ is at offset 32 of VideoFrame, after id_, the buffer reference, timestamp_rtp_ and ntp_time_ms_, which are the same at both revisions. WebRtcVideoFrame covers that prefix.

The function is added to src/VideoFrameBuilder.cpp, so this builds on the Builder PRs. The division rounds toward zero, as in C++. A null frame throws. It removes 1 export from the inventory.

Tested

Ubuntu 26.04 (WSL2, kernel 6.18), GCC 15.2.0, Release, full build with BUILD_TESTING=ON.

  • Extended guest_webrtc_video_frame_builder test: 0, 999, 1000, 123456789, -1, -999, -1000, -1500 and INT64_MAX microseconds give the truncated milliseconds; a null frame throws.
  • Full ctest -j16 on head ca8a21d959: 3596/3596 pass. check_conventions.py --base upstream/main passes.
  • pr_overlap.py: no open pull request implements these functions. The shared lines are the pending-export count in docs/dev/debt/libwebrtc.md and the source, test and declaration lists in CMakeLists.txt and Api.hpp.
  • Not tested: Windows, a title.
  • Rebased on main 4f41f4c375, head fcfc333cb5, to resolve the conflicts on the shared CMakeLists.txt, Export.cpp and debt-file lines; both sides are kept and the debt count is recomputed from Export.cpp. Full build and ctest -j16: 3796/3800 pass; guest_sce_net, guest_poll, guest_select_wait and guest_memory failed under that load, pass when run alone, and main 4f41f4c375 passes all 3799 with -j16 on the same machine. check_conventions.py --base upstream/main passes.
  • Head d9f11d0265, after review: is restacked on the updated #15275. Full build and ctest -j16: 3796/3800 pass; guest_sce_net, guest_poll, guest_select_wait and guest_memory fail only when the suite runs as a background job here, and pass when run in the foreground on this head and on main. check_conventions.py --base upstream/main passes.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #15274, #15275
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5128549261 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15276). Originally posted by [alvaroelpob](https://github.com/alvaroelpob) on 2026-11-02T22:37:29Z. --- ### What Implements `webrtc::VideoFrame::render_time_ms() const` in libwebrtc, which threw and was declared without parameters. The module's WebRTC revision lies between M127 and M134, as recorded in the debt file. `video_frame.cc` ([M127](https://webrtc.googlesource.com/src/+/e0b28a6a81a989c1f5c89e30fcd247870047390d/api/video/video_frame.cc), [M134](https://webrtc.googlesource.com/src/+/8d78f5de6c27b2c793039989ea381f1428fb0100/api/video/video_frame.cc)) returns `timestamp_us()` divided by 1000 at both. `timestamp_us_` is at offset 32 of `VideoFrame`, after `id_`, the buffer reference, `timestamp_rtp_` and `ntp_time_ms_`, which are the same at both revisions. `WebRtcVideoFrame` covers that prefix. The function is added to `src/VideoFrameBuilder.cpp`, so this builds on the `Builder` PRs. The division rounds toward zero, as in C++. A null frame throws. It removes 1 export from the inventory. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Ubuntu 26.04 (WSL2, kernel 6.18), GCC 15.2.0, Release, full build with `BUILD_TESTING=ON`. - Extended `guest_webrtc_video_frame_builder` test: 0, 999, 1000, 123456789, -1, -999, -1000, -1500 and `INT64_MAX` microseconds give the truncated milliseconds; a null frame throws. - Full `ctest -j16` on head ca8a21d959: 3596/3596 pass. `check_conventions.py --base upstream/main` passes. - `pr_overlap.py`: no open pull request implements these functions. The shared lines are the pending-export count in `docs/dev/debt/libwebrtc.md` and the source, test and declaration lists in `CMakeLists.txt` and `Api.hpp`. - Not tested: Windows, a title. - Rebased on `main` 4f41f4c375, head fcfc333cb5, to resolve the conflicts on the shared `CMakeLists.txt`, `Export.cpp` and debt-file lines; both sides are kept and the debt count is recomputed from `Export.cpp`. Full build and `ctest -j16`: 3796/3800 pass; `guest_sce_net`, `guest_poll`, `guest_select_wait` and `guest_memory` failed under that load, pass when run alone, and `main` 4f41f4c375 passes all 3799 with `-j16` on the same machine. `check_conventions.py --base upstream/main` passes. - Head d9f11d0265, after review: is restacked on the updated #15275. Full build and `ctest -j16`: 3796/3800 pass; `guest_sce_net`, `guest_poll`, `guest_select_wait` and `guest_memory` fail only when the suite runs as a background job here, and pass when run in the foreground on this head and on `main`. `check_conventions.py --base upstream/main` passes. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #15274, #15275 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
XairRrR commented 2026-11-03 19:01:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T19:01:22Z.

Review: APPROVED


Reviewed — approved

webrtc::VideoFrame::render_time_ms and the VideoFrame::Builder setters, constructor and destructor stacked under it build cleanly. The libwebrtc tests and public_headers pass, and the new test fails when the implementations are replaced with throwing stubs.

What I ran

Head fcfc333cb56431278fe9cc22cbc4069fc4d5581a merged into main 1e658521a0a599872612bb91949311e2956b5283 (merged tree 68b0ae99406f4c84b6d0e616a53e5f9c3225a9e1). Debian 13 VM, GCC 14.2.0, Release, Ninja, BUILD_TESTING=ON.

git diff --check 1e658521a0a599872612bb91949311e2956b5283...fcfc333cb56431278fe9cc22cbc4069fc4d5581a
python3 tools/check_conventions.py --base 1e658521a0a599872612bb91949311e2956b5283
ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "^(guest_webrtc_|public_headers$)"
# negative control (see below)
ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests
ctest --test-dir build --output-on-failure -R "^guest_webrtc_video_frame_builder$"
git show 68b0ae99406f4c84b6d0e616a53e5f9c3225a9e1:core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp > core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp
ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests
ctest --test-dir build -R "^guest_webrtc_video_frame_builder$"
git status --porcelain

Results

Check Result
git diff --check clean
check_conventions.py All conventions checks passed
Configure, build, libs (script) ok
Script's selected tests 807/809 passed, 1 skipped as expected; the one failure, unwrap_self_UnwrapTest_test_new_output_inherits_the_destination_directory_group, also fails on main and is not caused by this PR
guest_webrtc_* (14 tests, including the new guest_webrtc_video_frame_builder) all pass; the new test takes 0.01 s
public_headers passed (62 s on this loaded VM; the AMD CI report on this PR shows it is slow on main too)
Vulkan validation not applicable (no AGC, shader or VideoOut files changed)
Worktree after the control git status --porcelain empty

Negative control

The test needs the new headers, so I kept VideoFrame.hpp and Api.hpp. I replaced the seven functions in src/VideoFrameBuilder.cpp with bodies that call NotImplemented_nid_no_patch(__func__), which is how main behaves. The test then fails as expected:

output
terminate called after throwing an instance of 'std::runtime_error'
  what():  _ZN6webrtc10VideoFrame7Builder16set_timestamp_msEl_nid_postfix not implemented
3578 - guest_webrtc_video_frame_builder (Subprocess aborted)

I restored the merged file and rebuilt; the test passes again and the worktree matches the merged tree.

Findings

Blocking

None.

Non-blocking

  • The destructor tests still check that valid inputs throw (core/libs/prx/libwebrtc/tests/VideoFrameBuilder.cpp:86-103). This confirms the point oneandonlydean raised: the block still expects std::runtime_error when destroying a builder that holds a frame buffer or packet infos. The rebase reply did not change it. Those are valid inputs that are not supported yet, so this test will need rewriting once the references are released. The throw in the code (src/VideoFrameBuilder.cpp:66-70) is fine. The block comes from #15275, so it should be removed there, and this branch rebased on it.
  • The description's count is out of date. It says "The inventory drops from 346 to 345". After the rebase, the debt file goes from 351 to 344, because seven exports are implemented across the stack (four setters, the constructor, the destructor and render_time_ms). The file is right; only the description is stale.
  • Merge order. The diff includes all of #15274 and #15275. Merging this PR first would land them unreviewed. The Depends on line already declares this, so it is only a reminder to merge in order.

Not verified

  • The VideoFrame offsets (timestampUs at 32) and the 192-byte Builder layout at M127 and M134: no network access to video_frame.h. The code matches what the description and the debt entries say, and the static_asserts pin the layout.
  • Behaviour on the console, on Windows, and with a title.
  • The full test suite: only the libwebrtc tests, public_headers and the script's selection were run.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5757920253 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15276#pullrequestreview-5757920253). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T19:01:22Z. **Review:** APPROVED --- # Reviewed — approved `webrtc::VideoFrame::render_time_ms` and the `VideoFrame::Builder` setters, constructor and destructor stacked under it build cleanly. The libwebrtc tests and `public_headers` pass, and the new test fails when the implementations are replaced with throwing stubs. ## What I ran Head `fcfc333cb56431278fe9cc22cbc4069fc4d5581a` merged into `main` `1e658521a0a599872612bb91949311e2956b5283` (merged tree `68b0ae99406f4c84b6d0e616a53e5f9c3225a9e1`). Debian 13 VM, GCC 14.2.0, Release, Ninja, `BUILD_TESTING=ON`. ``` git diff --check 1e658521a0a599872612bb91949311e2956b5283...fcfc333cb56431278fe9cc22cbc4069fc4d5581a python3 tools/check_conventions.py --base 1e658521a0a599872612bb91949311e2956b5283 ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "^(guest_webrtc_|public_headers$)" # negative control (see below) ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests ctest --test-dir build --output-on-failure -R "^guest_webrtc_video_frame_builder$" git show 68b0ae99406f4c84b6d0e616a53e5f9c3225a9e1:core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp > core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests ctest --test-dir build -R "^guest_webrtc_video_frame_builder$" git status --porcelain ``` ## Results | Check | Result | |---|---| | `git diff --check` | clean | | `check_conventions.py` | All conventions checks passed | | Configure, build, `libs` (script) | ok | | Script's selected tests | 807/809 passed, 1 skipped as expected; the one failure, `unwrap_self_UnwrapTest_test_new_output_inherits_the_destination_directory_group`, also fails on `main` and is not caused by this PR | | `guest_webrtc_*` (14 tests, including the new `guest_webrtc_video_frame_builder`) | all pass; the new test takes 0.01 s | | `public_headers` | passed (62 s on this loaded VM; the AMD CI report on this PR shows it is slow on `main` too) | | Vulkan validation | not applicable (no AGC, shader or VideoOut files changed) | | Worktree after the control | `git status --porcelain` empty | ## Negative control The test needs the new headers, so I kept `VideoFrame.hpp` and `Api.hpp`. I replaced the seven functions in `src/VideoFrameBuilder.cpp` with bodies that call `NotImplemented_nid_no_patch(__func__)`, which is how `main` behaves. The test then fails as expected: <details><summary>output</summary> ``` terminate called after throwing an instance of 'std::runtime_error' what(): _ZN6webrtc10VideoFrame7Builder16set_timestamp_msEl_nid_postfix not implemented 3578 - guest_webrtc_video_frame_builder (Subprocess aborted) ``` </details> I restored the merged file and rebuilt; the test passes again and the worktree matches the merged tree. ## Findings ### Blocking None. ### Non-blocking - **The destructor tests still check that valid inputs throw** (`core/libs/prx/libwebrtc/tests/VideoFrameBuilder.cpp:86-103`). This confirms the point oneandonlydean raised: the block still expects `std::runtime_error` when destroying a builder that holds a frame buffer or packet infos. The rebase reply did not change it. Those are valid inputs that are not supported yet, so this test will need rewriting once the references are released. The throw in the code (`src/VideoFrameBuilder.cpp:66-70`) is fine. The block comes from #15275, so it should be removed there, and this branch rebased on it. - **The description's count is out of date.** It says "The inventory drops from 346 to 345". After the rebase, the debt file goes from 351 to 344, because seven exports are implemented across the stack (four setters, the constructor, the destructor and `render_time_ms`). The file is right; only the description is stale. - **Merge order.** The diff includes all of #15274 and #15275. Merging this PR first would land them unreviewed. The `Depends on` line already declares this, so it is only a reminder to merge in order. ## Not verified - The `VideoFrame` offsets (`timestampUs` at 32) and the 192-byte `Builder` layout at M127 and M134: no network access to `video_frame.h`. The code matches what the description and the debt entries say, and the `static_assert`s pin the layout. - Behaviour on the console, on Windows, and with a title. - The full test suite: only the libwebrtc tests, `public_headers` and the script's selection were run. <!-- anyps5-bots job=2856 head=fcfc333cb56431278fe9cc22cbc4069fc4d5581a -->
XairRrR commented 2026-11-03 20:27:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T20:27:48Z.

Review: APPROVED


Re-checked — approved

The new commit b5b2cb3eb641, from the rebase on the updated #15275, removes the destructor test cases that expected builders holding a frame buffer or packet infos to throw. Everything else in the stack is unchanged, and the checks pass.

What changed since my last review

  • New commit b5b2cb3eb641, "test(libwebrtc): drop the unsupported held-reference cases from the VideoFrame::Builder destructor test". TestDestructor now only checks a builder without references (core/libs/prx/libwebrtc/tests/VideoFrameBuilder.cpp:77-83). The throw in the code stays (core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp:66-70).
  • d8756654cd32 (the render-time test) only changes its context to fit the shorter TestDestructor. The other commits are the same patches as before (range-diff =).
  • The description gained a "Head d9f11d0265, after review" testing entry. The author replied to oneandonlydean that the block is gone.

What I ran

Head d9f11d0265cb7e3b5f78815824e9a1ba132fad25 merged into main 086c0686c8adff3ee648fdbe34e0b0b647e1d511 (merged tree 2cc00a80583c0d3eebcdd8a844ee62d3b69e5e50). Debian 13 VM, GCC 14.2.0, Release, Ninja, BUILD_TESTING=ON.

git diff --check 086c0686c8adff3ee648fdbe34e0b0b647e1d511...d9f11d0265cb7e3b5f78815824e9a1ba132fad25
python3 tools/check_conventions.py --base 086c0686c8adff3ee648fdbe34e0b0b647e1d511
ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "^guest_webrtc_"
# negative control 1: set_id and render_time_ms replaced with NotImplemented_nid_no_patch(__func__) (sed)
ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests
ctest --test-dir build --output-on-failure -R "^guest_webrtc_video_frame_builder$"
git show 2cc00a80583c0d3eebcdd8a844ee62d3b69e5e50:core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp > core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp
# negative control 2: only render_time_ms replaced with NotImplemented_nid_no_patch(__func__)
ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests
build/tests/guest_webrtc_video_frame_builder_tests
git show 2cc00a80583c0d3eebcdd8a844ee62d3b69e5e50:core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp > core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp
ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests
ctest --test-dir build -R "^guest_webrtc_video_frame_builder$"
git status --porcelain
Check Result
git diff --check clean
check_conventions.py All conventions checks passed
Configure, build, libs (script) ok
Script's selected tests 826 of 829 passed and 2 were skipped as expected. The one failure, unwrap_self_UnwrapTest_test_new_output_inherits_the_destination_directory_group, is a known failure on main, not caused by this PR.
guest_webrtc_* (14 tests) all pass; guest_webrtc_video_frame_builder takes 0.01 s
Vulkan validation not applicable (no AGC driver, shader or VideoOut files changed)
Worktree after the controls git status --porcelain empty

Negative control

The test changed again, so I ran the control again. With set_id and render_time_ms replaced by throwing stubs (how main behaves), the test aborts at the first one it calls. With only render_time_ms stubbed, it aborts in TestRenderTimeMs:

output
terminate called after throwing an instance of 'std::runtime_error'
  what():  _ZN6webrtc10VideoFrame7Builder6set_idEt_nid_postfix not implemented
Aborted
---
terminate called after throwing an instance of 'std::runtime_error'
  what():  _ZNK6webrtc10VideoFrame14render_time_msEv_nid_postfix not implemented
Aborted

I then restored the merged file and rebuilt. The test passes again and the worktree matches the merged tree.

Previous findings

  • The destructor tests still checked that valid inputs throw: Resolved. The int reference = 0; … Require(threw); block is gone. TestDestructor now only checks the case without references, and the destructor still throws for builders that hold references.
  • The description's count is out of date: Still open, non-blocking. The description still says "The inventory drops from 346 to 345". The debt file correctly goes from 351 to 344, because seven exports are implemented across the stack. Only the description is wrong.
  • Merge order: Still applies, as a reminder only. The diff still includes #15274 and #15275, and Depends on: #15274, #15275 declares this.

New findings

Blocking

None.

Non-blocking

None.

Not verified

  • The VideoFrame and Builder layouts at M127 and M134: I had no network access to video_frame.h. The static_asserts fix the layout the code relies on.
  • Behaviour on the console, on Windows, and with a title.
  • The full test suite: I ran only the libwebrtc tests, and the script ran its selection.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5759012608 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15276#pullrequestreview-5759012608). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T20:27:48Z. **Review:** APPROVED --- # Re-checked — approved The new commit `b5b2cb3eb641`, from the rebase on the updated #15275, removes the destructor test cases that expected builders holding a frame buffer or packet infos to throw. Everything else in the stack is unchanged, and the checks pass. ## What changed since my last review - New commit `b5b2cb3eb641`, "test(libwebrtc): drop the unsupported held-reference cases from the VideoFrame::Builder destructor test". `TestDestructor` now only checks a builder without references (`core/libs/prx/libwebrtc/tests/VideoFrameBuilder.cpp:77-83`). The throw in the code stays (`core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp:66-70`). - `d8756654cd32` (the render-time test) only changes its context to fit the shorter `TestDestructor`. The other commits are the same patches as before (range-diff `=`). - The description gained a "Head d9f11d0265, after review" testing entry. The author replied to oneandonlydean that the block is gone. ## What I ran Head `d9f11d0265cb7e3b5f78815824e9a1ba132fad25` merged into `main` `086c0686c8adff3ee648fdbe34e0b0b647e1d511` (merged tree `2cc00a80583c0d3eebcdd8a844ee62d3b69e5e50`). Debian 13 VM, GCC 14.2.0, Release, Ninja, `BUILD_TESTING=ON`. ``` git diff --check 086c0686c8adff3ee648fdbe34e0b0b647e1d511...d9f11d0265cb7e3b5f78815824e9a1ba132fad25 python3 tools/check_conventions.py --base 086c0686c8adff3ee648fdbe34e0b0b647e1d511 ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "^guest_webrtc_" # negative control 1: set_id and render_time_ms replaced with NotImplemented_nid_no_patch(__func__) (sed) ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests ctest --test-dir build --output-on-failure -R "^guest_webrtc_video_frame_builder$" git show 2cc00a80583c0d3eebcdd8a844ee62d3b69e5e50:core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp > core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp # negative control 2: only render_time_ms replaced with NotImplemented_nid_no_patch(__func__) ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests build/tests/guest_webrtc_video_frame_builder_tests git show 2cc00a80583c0d3eebcdd8a844ee62d3b69e5e50:core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp > core/libs/prx/libwebrtc/src/VideoFrameBuilder.cpp ninja -C build -j32 -l32 guest_webrtc_video_frame_builder_tests ctest --test-dir build -R "^guest_webrtc_video_frame_builder$" git status --porcelain ``` | Check | Result | |---|---| | `git diff --check` | clean | | `check_conventions.py` | All conventions checks passed | | Configure, build, `libs` (script) | ok | | Script's selected tests | 826 of 829 passed and 2 were skipped as expected. The one failure, `unwrap_self_UnwrapTest_test_new_output_inherits_the_destination_directory_group`, is a known failure on `main`, not caused by this PR. | | `guest_webrtc_*` (14 tests) | all pass; `guest_webrtc_video_frame_builder` takes 0.01 s | | Vulkan validation | not applicable (no AGC driver, shader or VideoOut files changed) | | Worktree after the controls | `git status --porcelain` empty | ## Negative control The test changed again, so I ran the control again. With `set_id` and `render_time_ms` replaced by throwing stubs (how `main` behaves), the test aborts at the first one it calls. With only `render_time_ms` stubbed, it aborts in `TestRenderTimeMs`: <details><summary>output</summary> ``` terminate called after throwing an instance of 'std::runtime_error' what(): _ZN6webrtc10VideoFrame7Builder6set_idEt_nid_postfix not implemented Aborted --- terminate called after throwing an instance of 'std::runtime_error' what(): _ZNK6webrtc10VideoFrame14render_time_msEv_nid_postfix not implemented Aborted ``` </details> I then restored the merged file and rebuilt. The test passes again and the worktree matches the merged tree. ## Previous findings - **The destructor tests still checked that valid inputs throw**: Resolved. The `int reference = 0;` … `Require(threw);` block is gone. `TestDestructor` now only checks the case without references, and the destructor still throws for builders that hold references. - **The description's count is out of date**: Still open, non-blocking. The description still says "The inventory drops from 346 to 345". The debt file correctly goes from 351 to 344, because seven exports are implemented across the stack. Only the description is wrong. - **Merge order**: Still applies, as a reminder only. The diff still includes #15274 and #15275, and `Depends on: #15274, #15275` declares this. ## New findings ### Blocking None. ### Non-blocking None. ## Not verified - The `VideoFrame` and `Builder` layouts at M127 and M134: I had no network access to `video_frame.h`. The `static_assert`s fix the layout the code relies on. - Behaviour on the console, on Windows, and with a title. - The full test suite: I ran only the libwebrtc tests, and the script ran its selection. <!-- anyps5-bots job=3582 head=d9f11d0265cb7e3b5f78815824e9a1ba132fad25 -->
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!15276
No description provided.