gst refactor to use ctx.

This commit is contained in:
Miroslav Šedivý 2021-12-05 18:16:26 +01:00
parent 7c3a24a613
commit b932e94f77
7 changed files with 99 additions and 71 deletions

View file

@ -262,7 +262,7 @@ func (manager *StreamSinkManagerCtx) destroyPipeline() {
return
}
manager.pipeline.Stop()
manager.pipeline.Destroy()
manager.logger.Info().Msgf("destroying pipeline")
manager.pipeline = nil
}