simple try

This commit is contained in:
Saxon1 2018-04-26 16:01:18 +09:30
parent 5da36ab35c
commit 45f33f3d3a
1 changed files with 0 additions and 4 deletions

View File

@ -314,10 +314,6 @@ func (r *revid) packClips() {
// Keep clearing output chan until out buffer has some space // Keep clearing output chan until out buffer has some space
for clip, err = r.ringBuffer.Get(); err != nil; { for clip, err = r.ringBuffer.Get(); err != nil; {
r.flushData() r.flushData()
r.Log(Debug,"Ending rtmp session")
r.rtmpInst.EndSession()
r.Log(Debug, "Creating new session")
r.rtmpInst = rtmp.NewRTMPSession(r.config.RtmpUrl, rtmpConnectionTimout)
rtmpError := r.rtmpInst.StartSession() rtmpError := r.rtmpInst.StartSession()
if rtmpError != nil { if rtmpError != nil {
r.Log(Error, rtmpError.Error()) r.Log(Error, rtmpError.Error())