From 6ce60ac336e9ab3781f2e317cc9f9b22d304f474 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Thu, 1 Aug 2024 13:38:17 -0400 Subject: [PATCH] enable async connect on rtmp2sink --- pkg/pipeline/builder/stream.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/pipeline/builder/stream.go b/pkg/pipeline/builder/stream.go index 7179e064..4fe891d5 100644 --- a/pkg/pipeline/builder/stream.go +++ b/pkg/pipeline/builder/stream.go @@ -132,9 +132,6 @@ func (sb *StreamBin) AddStream(url string) error { if err = sink.Set("location", url); err != nil { return errors.ErrGstPipelineError(err) } - if err = sink.SetProperty("async-connect", false); err != nil { - return errors.ErrGstPipelineError(err) - } case types.OutputTypeSRT: sink, err = gst.NewElementWithName("srtsink", fmt.Sprintf("srtsink_%s", name))