rtmp: using TCP rather IP

This commit is contained in:
saxon 2019-01-02 21:54:01 +10:30
parent 0b2c38117f
commit cec95cd652
1 changed files with 0 additions and 1 deletions

View File

@ -490,7 +490,6 @@ func (r *Revid) startRaspivid() error {
// setupInputForFile sets things up for getting input from a file // setupInputForFile sets things up for getting input from a file
func (r *Revid) setupInputForFile() error { func (r *Revid) setupInputForFile() error {
delay := time.Second / time.Duration(r.config.FrameRate) delay := time.Second / time.Duration(r.config.FrameRate)
f, err := os.Open(r.config.InputFileName) f, err := os.Open(r.config.InputFileName)
if err != nil { if err != nil {
r.config.Logger.Log(logger.Error, err.Error()) r.config.Logger.Log(logger.Error, err.Error())