do not start pipeline when error.

This commit is contained in:
Miroslav Šedivý
2021-02-05 12:41:02 +01:00
parent 58ea3665b0
commit 2b72f43c9e
5 changed files with 29 additions and 8 deletions

View File

@ -25,7 +25,7 @@ type StreamManager interface {
Codec() codec.RTPCodec
OnSample(listener func(sample Sample))
Start()
Start() error
Stop()
Enabled() bool
}