Repository navigation
Conversation
--num-simulations didn't say it defaults to 20, and the three degraded-audio flags didn't say what they do: noise as loud as the voice from a random clip, a 300-3400 Hz G.711 phone band, and 25% loss in ~60 ms bursts.
Loss drops 50 ms blocks (sample_rate // 20) with a mean burst of three, so a burst is about 150 ms. The 60 ms figure came from a simulator source comment that assumed 20 ms blocks.
simulateListModeFlags marks --limit legacyOnly, so it's rejected under --user-auth, but its help didn't say so the way --status and --cursor do.
Contributor
Author
|
lk-simulate-help.mp4 |
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.
Help text for
lk agent simulatenow says what the server does:--num-simulationsdefaults to 20 when unset (simulation.go#L110).--background-noisepicks a random ambient clip per simulation and mixes it in as loud as the voice.--low-quality-microphoneis a 300–3400 Hz band, G.711 µ-law phone line.--packet-lossdrops 25% of the audio in bursts of about 150 ms (50 ms blocks, mean burst of 3).list --limitis API-key auth only.simulateListModeFlagsalready rejects it under--user-auth.Sources for the audio flags: environment.py#L33-L80.
There's a demo video in the comments. Docs companion: livekit/web#7190.