add participant id when client reconnect (#988)

This commit is contained in:
cnderrauber
2022-09-07 15:56:56 +08:00
committed by GitHub
parent d76f7811e9
commit 441053b7fa
5 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ func (d *DownTrack) Bind(t webrtc.TrackLocalContext) (webrtc.RTPCodecParameters,
return codec, nil
}
d.logger.Debugw("DownTrack.Bind", "codecs", d.upstreamCodecs, "matchCodec", codec)
d.logger.Debugw("DownTrack.Bind", "codecs", d.upstreamCodecs, "matchCodec", codec, "ssrc", t.SSRC())
d.ssrc = uint32(t.SSRC())
d.payloadType = uint8(codec.PayloadType)
d.writeStream = t.WriteStream()