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

duplicate image #16

Open
parsibox opened this issue Aug 19, 2021 · 1 comment
Open

duplicate image #16

parsibox opened this issue Aug 19, 2021 · 1 comment

Comments

@parsibox
Copy link

hi
i connect with 2 device but i see 3 image on client
image

@Diegocndd
Copy link

I think this is happening because the server is relying on the device itself when displaying the streams. To solve this, I've added a control to peer_connection.ontrack so it only runs once. Just create a variable x with a value of 0, create a condition of x == 0 and, if the condition is true, x += 1 and execute the content of the function.

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

No branches or pull requests

2 participants