fix candidate error.
This commit is contained in:
parent
9104953ad9
commit
646eaced29
@ -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,
|
||||||
|
Reference in New Issue
Block a user