return iceservers for whip (#4210)

This commit is contained in:
cnderrauber
2025-12-31 15:10:15 +08:00
committed by GitHub
parent 1a4758ed9c
commit d92f6a790f
+1 -1
View File
@@ -149,7 +149,7 @@ func (s whipService) Create(ctx context.Context, req *rpc.WHIPCreateRequest) (*r
var iceServers []*livekit.ICEServer
apiKey, _, err := s.RoomManager.getFirstKeyPair()
if err != nil {
if err == nil {
iceServers = s.RoomManager.iceServersForParticipant(
apiKey,
lp,