Skip to content

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

Merged
merged 9 commits into from
Jun 2, 2025

Conversation

golgetahir
Copy link
Contributor

No description provided.

@golgetahir
Copy link
Contributor Author

last commit was to the wrong branch so it is reverted, sorry for that

Copy link

Copy link

@@ -202,7 +202,11 @@ public void createRecordings()
{
vertx.executeBlocking(() ->
{
convertHlsToMp4(broadcast, true);
long endTime = System.currentTimeMillis();
vertx.setTimer(2100, (l) -> {
Copy link
Contributor

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) {
Copy link
Contributor

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.

@burak-58 burak-58 merged commit a933257 into master Jun 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants