Archived
2
0

fix candidate error.

This commit is contained in:
Miroslav Šedivý 2023-03-18 13:11:02 +01:00
parent 9104953ad9
commit 646eaced29

View File

@ -135,7 +135,6 @@ func (session *Session) SignalLocalCandidate(data string) error {
if session.socket == nil { if session.socket == nil {
return nil return nil
} }
session.peer.SetCandidate(data)
return session.socket.Send(&message.SignalCandidate{ return session.socket.Send(&message.SignalCandidate{
Event: event.SIGNAL_CANDIDATE, Event: event.SIGNAL_CANDIDATE,
Data: data, Data: data,