mirror of https://bitbucket.org/ausocean/av.git
trying not to end and start rtmp session
This commit is contained in:
parent
0b9f678354
commit
0e8ee5975d
|
@ -394,10 +394,10 @@ func (r *revid) outputClips() {
|
|||
// we will add some delay to slow things down until we have a connection again
|
||||
time.Sleep(time.Duration(sendFailedDelay) * time.Second)
|
||||
r.Log(Error, err2.Error())
|
||||
if r.config.Output == NativeRtmp {
|
||||
r.rtmpInst.EndSession()
|
||||
err = r.rtmpInst.StartSession()
|
||||
}
|
||||
//if r.config.Output == NativeRtmp {
|
||||
//r.rtmpInst.EndSession()
|
||||
//err = r.rtmpInst.StartSession()
|
||||
//}
|
||||
}
|
||||
// let the ringbuffer know that we're done with the memory we grabbed when
|
||||
// we call ringBuffer.Get()
|
||||
|
|
Loading…
Reference in New Issue