mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(transcriptions): refactor transcriptions api (#14144)
* ref(transcriptions): refactor transcriptions api * ref(transcriptions): refactor usage of translation label Extend IFrame API to allow adding a transcriber in the room without the subtitles needing to be visible. Allow transcription chunk messages to be passed through the IFrame API if a transcriber is present. Clean-up transcription messages sent through the IFrame API to not include timeout field and possible conflicting states (stable / unstable /final) * fix linting * code review: extend api message to match webhook format
This commit is contained in:
@@ -466,8 +466,8 @@ function initCommands() {
|
||||
'toggle-subtitles': () => {
|
||||
APP.store.dispatch(toggleRequestingSubtitles());
|
||||
},
|
||||
'set-subtitles': enabled => {
|
||||
APP.store.dispatch(setRequestingSubtitles(enabled));
|
||||
'set-subtitles': (enabled, displaySubtitles, language) => {
|
||||
APP.store.dispatch(setRequestingSubtitles(enabled, displaySubtitles, language));
|
||||
},
|
||||
'toggle-tile-view': () => {
|
||||
sendAnalytics(createApiEvent('tile-view.toggled'));
|
||||
|
||||
Reference in New Issue
Block a user