mirror of https://bitbucket.org/ausocean/av.git
revid: updated comment for setupPipeline
This commit is contained in:
parent
d3e3904e75
commit
dd833afe2e
|
@ -181,7 +181,8 @@ func (r *Revid) setConfig(config Config) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// setupPipeline constructs a data pipeline.
|
||||
// setupPipeline constructs the revid dataPipeline. Inputs, encoders and
|
||||
// senders are create and linked based on the current revid config.
|
||||
func (r *Revid) setupPipeline(mtsEnc, flvEnc func(dst io.Writer, rate int) (io.Writer, error), multiWriter func(...io.WriteCloser) io.WriteCloser) error {
|
||||
r.buffer = (*buffer)(ring.NewBuffer(ringBufferSize, ringBufferElementSize, writeTimeout))
|
||||
|
||||
|
|
Loading…
Reference in New Issue