Skip to content

Commit

Permalink
fix: add http to protocol whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanleo committed Apr 21, 2020
1 parent bbf8c82 commit ead0917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions camera/camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func generateArguments(inputCfg InputConfiguration, streamCfg rtp.StreamConfigur
"-f",
inputCfg.Format,
"-protocol_whitelist",
"file,udp,tcp,rtp",
"file,udp,tcp,rtp,http",
"-i",
inputCfg.Source,
"-c:v",
Expand Down Expand Up @@ -174,7 +174,7 @@ func generateSnapshotArguments(inputCfg InputConfiguration, width uint) []string
"-f",
inputCfg.Format,
"-protocol_whitelist",
"file,udp,tcp,rtp",
"file,udp,tcp,rtp,http",
"-i",
inputCfg.Source,
"-c:v",
Expand Down

0 comments on commit ead0917

Please sign in to comment.