-
Notifications
You must be signed in to change notification settings - Fork 12
Fix clip creator timing due to last ts file not written #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
last commit was to the wrong branch so it is reverted, sorry for that |
|
|
@@ -202,7 +202,11 @@ public void createRecordings() | |||
{ | |||
vertx.executeBlocking(() -> | |||
{ | |||
convertHlsToMp4(broadcast, true); | |||
long endTime = System.currentTimeMillis(); | |||
vertx.setTimer(2100, (l) -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we set a timer with a magic number 2100?
} | ||
return false; | ||
} | ||
|
||
public static boolean createMp4(File tsFileList, String outputFilePath) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that this is not used anymore, right? If yes, we can delete it.
No description provided.