Do not generate a stream key for URL pull ingress (#1993)

This commit is contained in:
Benjamin Pracht
2023-08-24 12:50:05 -07:00
committed by GitHub
parent 8c99a9e307
commit ce418dc6b3
2 changed files with 11 additions and 4 deletions
+4 -1
View File
@@ -139,7 +139,10 @@ func (s *IngressService) CreateIngressWithUrl(ctx context.Context, urlStr string
urlStr = urlObj.String()
}
sk := utils.NewGuid("")
var sk string
if req.InputType != livekit.IngressInput_URL_INPUT {
sk = utils.NewGuid("")
}
info := &livekit.IngressInfo{
IngressId: utils.NewGuid(utils.IngressPrefix),