feat(libwebrtc): implement AudioFrame::CopyFrom #17856
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17856"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by alvaroelpob on 2026-11-09T18:23:31Z.
What
Implement AudioFrame::CopyFrom for frames without packet-info vectors, copying the audio metadata, optional capture timestamp and active samples using the same behavior at WebRTC M127 and M134.
Tested
Linux:
suite.py feat/libwebrtc-audio-frame-copyfromat5e7bd5218c: CTest 4812/4813 passed; conventions passed.agc_driver_frame_replay_rewind_copyalso fails on upstream/main.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T14:31:20Z.
Review: APPROVED
Reviewed — looks good
The implementation matches the documented behavior for frames without packet infos, and I found no verified blocking defect in the reviewed code.
What I ran
Reviewed head
8f48b4d5faeed67cd0ef79f20688f6b9d900eb6dusingrepo_read.pyto inspect the prepared diff and targeted source and test context. I did not run tests; the description reports author-run CTest results, which I did not verify.Results
Negative control
Not run; no test runner was available in this review session.
Findings
Blocking
None.
Non-blocking
None.
Sources
Not verified
Tests and author-reported CTest results were not run or verified. Read the five changed files listed in the manifest, inspecting targeted ranges where relevant; the manifest lists no excluded changed files.
To get this to a good state
Nothing is required. Optional: run the reported test suite on this head.
Pull request closed