Skip to content

Commit

Permalink
[mirotalksfu] - add Vietnamese to transcription
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 13, 2025
1 parent ad89018 commit feac1a1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.99
* @version 1.7.00
*
*/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.6.99",
"version": "1.7.00",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.99
* @version 1.7.00
*
*/

Expand Down Expand Up @@ -4904,7 +4904,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.6.99',
title: 'WebRTC SFU v1.7.00',
html: `
<br />
<div id="about">
Expand Down
7 changes: 2 additions & 5 deletions public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.99
* @version 1.7.00
*
*/

Expand Down Expand Up @@ -3405,10 +3405,7 @@ class RoomClient {

thereAreParticipants() {
// console.log('participantsCount ---->', participantsCount);
if (this.consumers.size > 0 || participantsCount > 1) {
return true;
}
return false;
return this.consumers.size > 0 || participantsCount > 1;
}

// ####################################################
Expand Down
1 change: 1 addition & 0 deletions public/js/Transcription.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class Transcription {
],
['日本語', ['ja-JP']],
['Lingua latīna', ['la']],
['Tiếng Việt', ['vi-VN']],
];
this.speechTranscription = window.SpeechRecognition || window.webkitSpeechRecognition;
this.isTranscriptionSupported = false;
Expand Down

0 comments on commit feac1a1

Please sign in to comment.