-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(replay): Implement minimap rendering functionality
This commit adds the following changes: - Added a new endpoint in the `ReplayController` to trigger minimap rendering on a post's replay. - Created a new method `RenderMinimap` in the `ReplayController` to handle the minimap rendering logic. - Added a new service called `MinimapRenderingService` to handle the background job for rendering the minimap. - Updated the `ReplaysIngestService` to include the MiniMapUri property in the ReplayDTO, which contains the URI of the rendered minimap video file. - Added a reference to `WowsKarma.Api.Minimap.Client` project in `WowsKarma.Api.csproj`. - Registered `MinimapRenderingService` as a scoped service in Startup.cs. The new endpoint allows administrators to trigger minimap rendering on a post's replay by providing the postId. The MinimapRenderingService then enqueues a background job to render and save the minimap video file. The MiniMapUri property is added to ReplayDTO, which contains the URI of the rendered minimap video file.
- Loading branch information
1 parent
28e1a05
commit fb9d298
Showing
5 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters