Skip to content

Commit

Permalink
ffmpeg restart delay
Browse files Browse the repository at this point in the history
  • Loading branch information
amukhsimov committed Mar 17, 2021
1 parent b3ed9b0 commit 1a4c8bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ void *begin_rtmp(void *opinfo) {
while (true) {
cout << "Start ffmpeg" << endl;
system(command);
sleep(1);
}

return 0;
Expand Down

0 comments on commit 1a4c8bd

Please sign in to comment.