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

SPARK-532493 webrtc core should expose separate events for ice and connection state #78

Conversation

k-wasniowski
Copy link
Contributor

@k-wasniowski k-wasniowski commented Jun 10, 2024

This PR divide evaluating of overall connection state to two separated events.
We have decided that it's useful to have access to both events IceConnectionState and ConnectionState separately.
It's required for JS-SDK to have access directly to the reason of media join failure.

kwasniow added 3 commits June 7, 2024 17:19
…for-ice-and-connection-state' of https://github.com/webex/webrtc-core into spark-532493-webrtc-core-should-expose-separate-events-for-ice-and-connection-state
Copy link
Contributor

@brycetham brycetham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with @marcin-bazyl's comments. Also left a comment about naming.

src/connection-state-handler.ts Outdated Show resolved Hide resolved
@k-wasniowski k-wasniowski force-pushed the spark-532493-webrtc-core-should-expose-separate-events-for-ice-and-connection-state branch from eefe004 to 3513785 Compare June 11, 2024 07:19
marcin-bazyl
marcin-bazyl previously approved these changes Jun 11, 2024
brycetham
brycetham previously approved these changes Jun 11, 2024
Copy link
Contributor

@brycetham brycetham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left a minor comment. As I discussed with you offline, since this is technically a breaking change, I would check with the SDK team to make sure they are ok with it, as this might affect some SDK customers. Likely they will need to document this somewhere, so I might wait until you get the ok before merging.

src/connection-state-handler.spec.ts Outdated Show resolved Hide resolved
@k-wasniowski k-wasniowski merged commit 9df9bd2 into main Jun 12, 2024
1 check passed
@k-wasniowski k-wasniowski deleted the spark-532493-webrtc-core-should-expose-separate-events-for-ice-and-connection-state branch June 12, 2024 13:23
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.

4 participants