queue restart ice offer while publisher pc gathering ice (#895)
* queue restart ice offer while publisher pc gathering ice * fix test case fail
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
func HandleParticipantSignal(room types.Room, participant types.LocalParticipant, req *livekit.SignalRequest, pLogger logger.Logger) error {
|
||||
switch msg := req.Message.(type) {
|
||||
case *livekit.SignalRequest_Offer:
|
||||
_, err := participant.HandleOffer(FromProtoSessionDescription(msg.Offer))
|
||||
err := participant.HandleOffer(FromProtoSessionDescription(msg.Offer))
|
||||
if err != nil {
|
||||
pLogger.Errorw("could not handle offer", err)
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user