Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - support for "partial" Preflight tests #245

Open
yanniel opened this issue Feb 9, 2024 · 0 comments
Open

[FEATURE] - support for "partial" Preflight tests #245

yanniel opened this issue Feb 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yanniel
Copy link

yanniel commented Feb 9, 2024

Is your feature request related to a problem? Please describe.

A Preflight test report contains a lot of information. Users might be interested only in a portion of it. It would be beneficial to specify what should the test do and report.

I suspect that if a user is only interested in the networkTiming portion of the test, the test itself would be easier to set-up (ex. we might not even need the TwiML Apps.

It is also reasonable to think the test would be faster if portions of it are excluded.

Describe the solution you'd like

We could either specify the portions of the test we want to avoid (ex. exclude_from_report) or the ones we want to include (ex.include_in_report)

const preflightTest = Device.runPreflight(twilioAccessToken, {
    codecPreferences: ["opus", "pcmu"],
    fakeMicInput: true, 
    signalingTimeoutMs: 30000,
    exclude_from_report: ["samples"], // or include_in_report: ["networkTiming"],
});

Describe alternatives you've considered

None

Additional context

None

@yanniel yanniel added the enhancement New feature or request label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant