pdcarroll / react-kinesis-webrtc

An experimental library of React hooks for the AWS Kinesis WebRTC JavaScript SDK.
ISC License
13 stars 7 forks source link

Failed to execute 'addTrack' on 'RTCPeerConnection': A sender already exists for the track. #8

Closed Maks-heso closed 2 years ago

Maks-heso commented 2 years ago

When I restart 4 times through the viewer to the master, an error appears Failed to execute 'addTrack' on 'RTCPeerConnection': A sender already exists for the track. How can this be fixed?

pdcarroll commented 2 years ago

@Maks-heso Thanks for the issue. I've seen this error intermittently before, and I believe it's a bug in this library. I'll plan to resolve this in the next release.