ion-sfu icon indicating copy to clipboard operation
ion-sfu copied to clipboard

Relay Peer failed due to OnTrack not set

Open VacronBruce opened this issue 2 years ago • 0 comments

Your environment.

  • Version: 68545cc25230220435ee028d5a0af6e768a0a79a
  • Client: SFU to SFU relay
  • Environement: Linode VM rocky8
  • Are you using a TURN server? coturn
  • Other Information - * https://github.com/pion/ion-sfu/blob/master/pkg/relay/relay.go , at line 428, when I check with onTrack callback it is nil*

What did you do?

SFU1 use p.Publisher.Relay() SFU2 receive via sesson.AddRelayPeer()

What did you expect?

Should relay.receive() should have onTrack callback, and report via onTrack callback

What happened?

RTPReceiver for remoteTrack use before onTrack callback set.

VacronBruce avatar Apr 27 '22 05:04 VacronBruce