-
Notifications
You must be signed in to change notification settings - Fork 55
Add the recording file name to store the recordings in the DB #266
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -185,6 +185,6 @@ captcha.enable-captcha=${ENABLE_CAPTCHA} | |||||||||||||||
|
|
||||||||||||||||
| cors.allowed-origins=${CORS_ALLOWED_ORIGINS} | ||||||||||||||||
|
|
||||||||||||||||
| # Jitsi configuration | ||||||||||||||||
| video-call-url=${VIDEO_CALL_URL} | ||||||||||||||||
| jibri.output.path={JIBRI_OUTPUT_PATH} | ||||||||||||||||
| video.recording.path={VIDEO_RECORDING_PATH} | ||||||||||||||||
|
Comment on lines
+188
to
190
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Placeholder typo will break property expansion.
-video.recording.path={VIDEO_RECORDING_PATH}
+video.recording.path=${VIDEO_RECORDING_PATH}π Committable suggestion
Suggested change
π€ Prompt for AI Agents |
||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -198,8 +198,8 @@ grievanceAllocationRetryConfiguration=3 | |||||||||||||||
| logging.path=logs/ | ||||||||||||||||
| logging.file.name=logs/common-api.log | ||||||||||||||||
|
|
||||||||||||||||
| # Jitsi configuration | ||||||||||||||||
| video-call-url=https://vc.piramalswasthya.org/? | ||||||||||||||||
| jibri.output.path=/srv/jibri/recordings | ||||||||||||||||
| video.recording.path=/srv/recordings | ||||||||||||||||
|
Comment on lines
+201
to
203
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π‘ Verification agent π§© Analysis chainProperty naming is inconsistent with existing conventions β consider Most keys in this file use dot-separated segments ( - video-call-url=https://vc.piramalswasthya.org/?
+ video.call.url=https://vc.piramalswasthya.org/?Before changing, verify whether other files (e.g. π Script executed: #!/bin/bash
# Search for occurrences of the dashed property key
rg --no-heading -n "video-call-url"
# Search for occurrences of the dotted variant
rg --no-heading -n "video.call.url"
# Check for Java @Value injections using the dashed key
rg --no-heading -n "@Value.*video-call-url"
# Check for Environment.getProperty calls using the dashed key
rg --no-heading -n "getProperty.*video-call-url"Length of output: 1502 Ensure consistent dot-notation for the Jitsi URL property The key β’ src/main/environment/common_example.properties:202 Suggested changes: # in each .properties file
- video-call-url=https://vc.piramalswasthya.org/?
+ video.call.url=https://vc.piramalswasthya.org/?# in VideoCallServiceImpl.java
- @Value("${video-call-url}")
+ @Value("${video.call.url}")
// And if you re-enable the ConfigProperties call:
//- this.jitsiLink = ConfigProperties.getPropertyByName("video-call-url");
//+ this.jitsiLink = ConfigProperties.getPropertyByName("video.call.url");After applying, verify Springβs relaxed binding still works and update any CI/docker environment variables (e.g. π Committable suggestion
Suggested change
π€ Prompt for AI Agents |
||||||||||||||||
|
|
||||||||||||||||
| captcha.secret-key= <Enter Cloudflare Secret Key> | ||||||||||||||||
|
|
||||||||||||||||
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.
π‘ Verification agent
π§© Analysis chain
Verify downstream usage of the new key
video-call-url.Please ensure all Java / YAML code now reads
video-call-urland no references to the removedjibri.output.pathremain.π Script executed:
Length of output: 797
Replace remaining Jibri path reference with the new video.recording.path
The code still pulls the old
jibri.output.pathkey in VideoCallServiceImpl. Update it to use the newvideo.recording.path:β’ src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java:138
(and rename
jibriOutputDiraccordingly)π€ Prompt for AI Agents