Skip to content

PeerJS : remote video track got “muted” state #2

@RChrys

Description

@RChrys

I am trying to create a peer-to-peer video chat using peerjs.
After several tries, the 2 peers manage to receive the video from the other peer in the following cases:

Desktop Chrome --> Desktop Chrome
Desktop Chrome --> Android Chrome
Desktop Chrome --> Desktop Safari
Desktop Chrome --> IOS Safari
Android Chrome --> Desktop Chrome
Android Chrome --> Android Chrome
Android Chrome --> Desktop Safari
Android Chrome --> IOS Safari
Desktop Safari --> Desktop Chrome

But, for the following other cases, the one receiving the call does not receive the caller's video, or neither of them receives the other's video:

Desktop Safari --> Android Chrome
Desktop Safari --> IOS Safari
Desktop Safari --> Desktop Safari
IOS Safari --> Desktop Chrome
IOS Safari --> Android Chrome
IOS Safari --> Desktop Safari
IOS Safari --> IOS Safari.
And the remote video got "true" for 'muted' state. Here my code for the moment :
https://stackoverflow.com/questions/67487195/peerjs-remote-video-track-got-muted-state

What can I do or what should I change? Thank you for your help !

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