Safari and Chrome unable to connect `MediaStream`s -- `stream` event not firing
- Dominant language
- JavaScript
- Stars
- 7.8k
- Forks
- 983
- PR merge metrics
- No merged PRs in 30d
Description
**What version of this package are you using?**
```
yarn why simple-peer
└─ xtalk-pages@workspace:projects/xtalk-pages
└─ simple-peer@npm:9.11.1 (via npm:^9.11.1)
```
**What operating system, Node.js, and npm version?**
MacOS: `14.5 (23F79)`
```
node --version
v20.13.1
yarn --version
4.2.2
```
**What happened?**
Safari and Chrome sporadically are unable to send video streams between themselves. Sometimes it will work,
however at other times the `stream` event won't be fired on the Chrome browser side.
```
# Chrome version:
[Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (arm64)](https://brave.com/latest/)
# Safari version:
Version 17.5 (19618.2.12.11.6)
```
I am unable to reproduce this issue when using Chrome <--> Chrome.
**What did you expect to happen?**
The `stream` event to always be fired on the Chrome side.
**Are you willing to submit a pull request to fix this bug?**
Perhaps. I might try to dive into the library code at some point.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.