-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add HLSMerger Plugin #118
Add HLSMerger Plugin #118
Conversation
Quality Gate passed for 'Media Push Plugin'Issues Measures |
Quality Gate passed for 'Filter Plugin'Issues Measures |
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.
Hi @burak-58,
Thank you for the implementation.
I need you to change somethings as I mention in the comments.
Regards
Oguz
HLSMergerPlugin/src/main/java/io/antmedia/rest/RestService.java
Outdated
Show resolved
Hide resolved
HLSMergerPlugin/src/test/java/io/antmedia/plugin/HLSMergerPluginTest.java
Outdated
Show resolved
Hide resolved
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.
hi @burak-58
I need further improvements in the code and there are some uncompleted conversations.
FYI
HLSMergerPlugin/src/main/java/io/antmedia/rest/HLSMergerRestService.java
Show resolved
Hide resolved
HLSMergerPlugin/src/main/java/io/antmedia/plugin/HLSMergerPlugin.java
Outdated
Show resolved
Hide resolved
@Path("/multi-resolution-stream/{file-name}") | ||
@Produces(MediaType.APPLICATION_JSON) | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
public Response start(@PathParam("file-name") String fileName, @Parameter(description = "Stream Id", required = true) String[] streamIds) { |
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.
Please return Result
and give some more information when there is an error
HLSMergerPlugin/src/main/java/io/antmedia/plugin/HLSMergerPlugin.java
Outdated
Show resolved
Hide resolved
|
||
try (PrintWriter out = new PrintWriter(audioHLSFile)) { | ||
out.println(content); | ||
} catch (FileNotFoundException e) { |
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.
Please merge the exceptions because if it fails here, it does not make sense to run the codes below
Quality Gate passed for 'Media Push Plugin'Issues Measures |
Quality Gate passed for 'Filter Plugin'Issues Measures |
ant-media/Ant-Media-Server#6628