Просмотр исходного кода

Merge pull request #589 from jitsi/stop_start_transcription

feat(conference): Add stop/start transcriber methods
dev1
Emil Ivov 8 лет назад
Родитель
Сommit
4aa35c28c8
1 измененных файлов: 13 добавлений и 0 удалений
  1. 13
    0
      JitsiConference.js

+ 13
- 0
JitsiConference.js Просмотреть файл

@@ -1741,6 +1741,19 @@ JitsiConference.prototype.hangup = function() {
1741 1741
     });
1742 1742
 };
1743 1743
 
1744
+/**
1745
+ * Starts the transcription service.
1746
+ */
1747
+JitsiConference.prototype.startTranscriber = function() {
1748
+    return this.dial('jitsi_meet_transcribe');
1749
+};
1750
+
1751
+
1752
+/**
1753
+ * Stops the transcription service.
1754
+ */
1755
+JitsiConference.prototype.stopTranscriber = JitsiConference.prototype.hangup;
1756
+
1744 1757
 /**
1745 1758
  * Returns the phone number for joining the conference.
1746 1759
  */

Загрузка…
Отмена
Сохранить