Repository navigation
Add an Android audio end-to-end test without the native playout probe - #253
Open
sierpinskid wants to merge 1 commit into
Open
sierpinskid wants to merge 1 commit into
sierpinskid wants to merge 1 commit into
Conversation
The native playout probe stays off until the vendored binary exports GetAudioPlayoutStats. Co-authored-by: Cursor <cursoragent@cursor.com>
👋 Hi Daniel, want a second pair of eyes on this?I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.
Or comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CallAudioTestsandPlayerTestResultLoggerso a player can check signaling, capture, send, receive, and playback. Editor CI never compiles the native audio path (STREAM_NATIVE_AUDIOis player-only).GetAudioPlayoutStatsbinding andInternalsVisibleTo("StreamVideo.Tests.Runtime"). The test does not call the binding.STREAM_NATIVE_PLAYOUT_PROBEis not defined, becausemain'slibwebrtc.aardoes not export that symbol.RTCIceCandidate.cs, the Editor test asmdef,DeviceFarmTestPlayerBuild, and both Firebase scripts out of this diff. Unity floor stays2021.3.Phone run
Phone run not done. No Android device was attached (
adb deviceswas empty on this machine), so there is no[Audio E2E]line from this tree.When a phone is available, the run still has these limits:
totalSamplesReceivedcan advance in the Editor even when theAudioSourceis disabled.GetAudioPlayoutStatsis not called.Test plan
CallAudioTestsand fails on a silent microphone, ignore the test underUNITY_EDITOR. Do not weaken the device energy assertions.STREAM_TESTS_ENABLEDand IL2CPP on the Android target only, record the[Audio E2E] Measured audio flow:line.Made with Cursor