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

media: handle sdp errors #459

Merged
merged 1 commit into from
Nov 4, 2024
Merged

media: handle sdp errors #459

merged 1 commit into from
Nov 4, 2024

Conversation

geirbakke
Copy link
Contributor

@geirbakke geirbakke commented Oct 31, 2024

Description

This PR adds an option to clean sdp before setLocalDescription, hopefully working around browser bugs like:
https://issues.webrtc.org/issues/41480892
(and a similar one on Firefox)
It adds events so we can track these kind of errors in our apps
It removes the pendingOffer logic as that was a workaround for a bug long time ago, and interfered with the tracking/events, and makes sure the offer isn't sent to remote end before working locally.

Testing instructions in PWA PR

Copy link

changeset-bot bot commented Oct 31, 2024

🦋 Changeset detected

Latest commit: 0fa77c4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@whereby.com/media Minor
@whereby.com/core Patch
@whereby.com/browser-sdk Patch
@whereby.com/react-native-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@geirbakke
Copy link
Contributor Author

/canary

Copy link
Contributor

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

yarn add @whereby.com/browser-sdk@0.0.0-canary-20241031135851
yarn add @whereby.com/core@0.0.0-canary-20241031135851
yarn add @whereby.com/media@0.0.0-canary-20241031135851
yarn add @whereby.com/react-native-sdk@0.0.0-canary-20241031135851

@geirbakke geirbakke force-pushed the geirbakke/handle-sdp-errors branch 2 times, most recently from 8e194a7 to 69a1385 Compare October 31, 2024 19:39
@geirbakke
Copy link
Contributor Author

/canary

Copy link
Contributor

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

yarn add @whereby.com/browser-sdk@0.0.0-canary-20241031194056
yarn add @whereby.com/core@0.0.0-canary-20241031194056
yarn add @whereby.com/media@0.0.0-canary-20241031194056
yarn add @whereby.com/react-native-sdk@0.0.0-canary-20241031194056

@geirbakke
Copy link
Contributor Author

/canary

Copy link
Contributor

github-actions bot commented Nov 1, 2024

🚀 The canary releases have been published to npm.

You can test the releases by installing the newly published versions:

yarn add @whereby.com/browser-sdk@0.0.0-canary-20241101120009
yarn add @whereby.com/core@0.0.0-canary-20241101120009
yarn add @whereby.com/media@0.0.0-canary-20241101120009
yarn add @whereby.com/react-native-sdk@0.0.0-canary-20241101120009

Copy link
Contributor

@pnts-se-whereby pnts-se-whereby left a comment

Choose a reason for hiding this comment

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

🍰 Great work!

@geirbakke geirbakke force-pushed the geirbakke/handle-sdp-errors branch from e499535 to 0fa77c4 Compare November 4, 2024 09:00
@geirbakke geirbakke merged commit b78b9ca into main Nov 4, 2024
3 checks passed
@geirbakke geirbakke deleted the geirbakke/handle-sdp-errors branch November 4, 2024 09:33
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.

2 participants