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

states: add e2e tests #1546

Merged
merged 1 commit into from
Apr 25, 2022
Merged

states: add e2e tests #1546

merged 1 commit into from
Apr 25, 2022

Conversation

fippo
Copy link
Collaborator

@fippo fippo commented Apr 14, 2022

and fix misc bugs and terminology

@fippo
Copy link
Collaborator Author

fippo commented Apr 14, 2022

@alvestrand @henbos there is an interesting thing about this sample that I only noticed when writing the test:
signaling state and ice connection state get a state change to "new/stable" (from "new/stabe"), connectionState does not.
That seems inconsistent...

@henbos
Copy link
Member

henbos commented Apr 14, 2022

Yeah I think we should calculate connectionState the same way we calculate iceConnectionState, in blink, so that it matches the JS exposed transport states.

But incidentally connectionState still exposes the ”failed” heuristic that was removed from iceConnectionState.

My kingdom for an end-of-candidates

@fippo
Copy link
Collaborator Author

fippo commented Apr 14, 2022

ah... turns out there was an extra call adding the 'new' / 'stable' state to the div. Not a spec issue, a sample issue. Updated the sample and the test.

and fix misc bugs and terminology
@fippo fippo merged commit d5bf80b into webrtc:gh-pages Apr 25, 2022
@fippo fippo deleted the states-test branch April 25, 2022 07:42
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.

3 participants