Make sure CreateIngress returns an empty state (#1069)

This commit is contained in:
Benjamin Pracht
2022-10-04 19:23:09 -07:00
committed by GitHub
parent 30e5037418
commit c3120679e6
+1
View File
@@ -86,6 +86,7 @@ func (s *IngressService) CreateIngressWithUrlPrefix(ctx context.Context, urlPref
ParticipantIdentity: req.ParticipantIdentity,
ParticipantName: req.ParticipantName,
Reusable: req.InputType == livekit.IngressInput_RTMP_INPUT,
State: &livekit.IngressState{},
}
if err := s.store.StoreIngress(ctx, info); err != nil {