mirror of
https://github.com/flavioribeiro/donut.git
synced 2025-10-29 09:42:28 +08:00
add mpeg-ts prober
This commit is contained in:
@@ -51,8 +51,8 @@ func NewSRTController(c *entities.Config, l *zap.SugaredLogger, lc fx.Lifecycle)
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (c *SRTController) Connect(cancel context.CancelFunc, params entities.RequestParams) (*astisrt.Connection, error) {
|
||||
c.l.Infow("trying to connect srt")
|
||||
func (c *SRTController) Connect(cancel context.CancelFunc, params *entities.RequestParams) (*astisrt.Connection, error) {
|
||||
c.l.Info("trying to connect srt")
|
||||
|
||||
if err := params.Valid(); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user