Skip to content
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

fix: transcriber settings precedence #518

Merged
merged 5 commits into from
Feb 13, 2024

Conversation

rpurdel
Copy link
Contributor

@rpurdel rpurdel commented Feb 13, 2024

No description provided.

Copy link

codecov bot commented Feb 13, 2024

Codecov Report

Attention: 26 lines in your changes are missing coverage. Please review.

Comparison is base (86273ae) 20.86% compared to head (f610ee9) 20.84%.
Report is 4 commits behind head on master.

❗ Current head f610ee9 differs from pull request most recent head d967555. Consider uploading reports for the commit d967555 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #518      +/-   ##
============================================
- Coverage     20.86%   20.84%   -0.02%     
  Complexity      289      289              
============================================
  Files            74       74              
  Lines          6222     6240      +18     
  Branches        833      833              
============================================
+ Hits           1298     1301       +3     
- Misses         4699     4718      +19     
+ Partials        225      221       -4     
Files Coverage Δ
...g/jitsi/jigasi/transcription/WhisperWebsocket.java 0.00% <0.00%> (ø)
src/main/java/org/jitsi/jigasi/JvbConference.java 42.16% <0.00%> (-0.15%) ⬇️
...in/java/org/jitsi/jigasi/TranscriptionGateway.java 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 411d7ae...d967555. Read the comment docs.

{
logger.debug("Using " + transcriberClass + " as the transcriber class.");
}
logger.info("Using " + transcriberClass + " as the transcriber class.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, is this duplicated with the print bellow.

.getString(
CUSTOM_TRANSCRIPTION_SERVICE_PROP,
null);
if (customTranscriptionServiceClass != null)
{
logger.info("Using " + customTranscriptionServiceClass + " as the transcriber class.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe leave only the print if there is a tenant enabling non default transcription.
And please add the callContext to the log as the rest of the code.

}
else
{
logger.info("No custom transcriber class found, falling back to default.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not need this log.

@damencho damencho merged commit 9ba581c into jitsi:master Feb 13, 2024
0 of 2 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