doc updates

This commit is contained in:
David Zhao
2021-01-24 15:18:34 -08:00
parent c4fb1b3808
commit 01d62edafa
5 changed files with 64 additions and 29 deletions
+4
View File
@@ -322,6 +322,10 @@ func (p *ParticipantImpl) Close() error {
}
close(p.rtcpCh)
p.onICECandidate = nil
p.peerConn.OnDataChannel(nil)
p.peerConn.OnICECandidate(nil)
p.peerConn.OnNegotiationNeeded(nil)
p.peerConn.OnTrack(nil)
p.updateState(livekit.ParticipantInfo_DISCONNECTED)
p.responseSink.Close()
if p.onClose != nil {