Skip to content

Safari and Chrome unable to connect MediaStreams -- stream event not firing #940

@majames

Description

@majames

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions