Skip to content

test: check the capture time of audio pushed without a timestamp - #473

Merged
devopvoid merged 1 commit into
mainfrom
test/audio-capture-time
Oct 28, 2026
Merged

devopvoid merged 1 commit into
mainfrom
test/audio-capture-time

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Follow-up to #460, which had no test for the audio path: Java audio sinks never see the capture timestamp.

A sender transform does: RTCEncodedFrame.getCaptureTimeUs() carries the absolute capture time the source stamped. The new test in RTCEncodedFrameTransformTests pushes audio without a timestamp and checks that every capture time lies on the clock of SyncClock.currentTimeUs() and never goes back.

A sender transform sees the absolute capture time the source stamped,
which must be on the clock of SyncClock.currentTimeUs().
@devopvoid
devopvoid merged commit fd8eb0e into main Oct 28, 2026
9 of 14 checks passed
@devopvoid
devopvoid deleted the test/audio-capture-time branch October 28, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant