return iceservers for whip (#4210)
This commit is contained in:
@@ -149,7 +149,7 @@ func (s whipService) Create(ctx context.Context, req *rpc.WHIPCreateRequest) (*r
|
|||||||
|
|
||||||
var iceServers []*livekit.ICEServer
|
var iceServers []*livekit.ICEServer
|
||||||
apiKey, _, err := s.RoomManager.getFirstKeyPair()
|
apiKey, _, err := s.RoomManager.getFirstKeyPair()
|
||||||
if err != nil {
|
if err == nil {
|
||||||
iceServers = s.RoomManager.iceServersForParticipant(
|
iceServers = s.RoomManager.iceServersForParticipant(
|
||||||
apiKey,
|
apiKey,
|
||||||
lp,
|
lp,
|
||||||
|
|||||||
Reference in New Issue
Block a user