[media] build / bugfix : upgrade infra , 3rd party libraries, move build test flow to docker#54
Merged
metalalive merged 41 commits intomasterfrom Nov 2, 2025
Merged
Conversation
…Make config - compile applications and test programs during docker build - move database migration to docker compose - run unit test through docker compose - TODO, finish integration test setup with docker compose Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- allow system users to specify essential environment variables for running applications in different OS environment - specify database host and port by environment variable instead of secret data file. - add macro which concatenates 2 path segments then run user-specific code block with the final concatenated string, the purpose is to ensure full path of a file in local / remote storage. - fix base path issues for external files such as image mask pattern, callable symbol lookup in ELF file and config file parsing. - TODO, fix base path issues for persisted storage files and transcoding / streaming media segment files Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- fix base path issues for persisted storage files - modify unit test cases Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- fix base path issues for file procssing parts in transcoder - modify unit test cases Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
… poll Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- unit test will be run by docker compose with valgrind memory check, and no longer be part of cmake script - update docker commands to README Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…h issues - ensure correct path to certificates in docker container when running app server Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- separate docker images for helper tools and executable applications Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- correct base path issues in config modules - URL to AMQP broker is HTTP instead of HTTPS for directly connecting to user-management Django development server. - TODO, consider to support HTTPS endpoints on user-management app server - modify host / port of AMQP broker in RPC config module Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- this is part of integration test flow - support HTTP2 secure connection which will interact with media test app server Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…r compose Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…ver for integration test Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…cker compose Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- system base path will be handled in storage layer, remove system base path on API endpoints of app server and RPC consumer Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
… filesystem - replace path of temp buffer, with dedicated storage setup in configuration. - remove confusing storage alias `localfs`, insead using `persist_usr_asset` for user media file persistence, and `local_tmpbuf` as temporary buffer files when transcoding videos / images locally in app server - remove field `tmp_buf.path` from `app_cfg_t` Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- fix base paths against ffmpeg library functions for HLS file generation - modify URL verification during HLS element lookup in relevant test cases Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- ensure correct base paths against ffmpeg library functions for image input / output file generation - fix incorrect external path to mask file during image filtering process Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…in transcode / storage module Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…ation test Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
- chore , modify CORS config files and gitignore - modify corresponding app setting file for dev env Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…mpose - update doc , unit test can be running without `interpolation-test.env` in docker compose Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 19482685 | Triggered | Generic Password | 87a32c1 | services/media/infra/container-sample.env | View secret |
| 19482686 | Triggered | Generic Password | 87a32c1 | services/media/infra/container-sample.env | View secret |
| 10609120 | Triggered | Generic Password | 367e0eb | services/media/src/models/cfg_parser.c | View secret |
| 19482687 | Triggered | Generic Password | 87a32c1 | services/media/infra/container-sample.env | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…tion Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
…nderer.py Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
Signed-off-by: T.H. <7197142+metalalive@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bugfix :
localfs, insead usingpersist_usr_assetfor user media file persistence, andlocal_tmpbufas temporary buffer files when transcoding videos / images locally in app serverothers :