Enabling Google Transcription

I’m struggling to get transcription enabled in the docker environment. In a nutshell I’d really like help with:

  • GC_PRIVATE_KEY value
  • Enabling the transcribe button
  • Actually getting the transcribe to run instead of entering and leaving

The Key

My first roadblock was/is setting the key. There is no information in the readme with regards to the content format of GC_PRIVATE_KEY.

I’ve tried in quotes, removing \n, escaping \n but nothing seems to make a valid file.

At the moment - I am just overwriting .jitsi-meet-cfg/jigasi/key.json with the correct values to prevent the incorrect key format errors.

Where’s the button?

I still have two remaining issues - the transcription service doesn’t appear as an option (as I understand it - I should see a “CC” or something - I get nothing.

The docker scripts appear to configure everything correctly:

./.jitsi-meet-cfg/jigasi/sip-communicator.properties:org.jitsi.jigasi.transcription.ENABLE_TRANSLATION=true
./.jitsi-meet-cfg/jigasi/sip-communicator.properties:org.jitsi.jigasi.transcription.SEND_JSON=true

Please stay…

And - if I start the service from the console with APP.conference._room.dial("jitsi_meet_transcribe") the service joins, creates the text file, I see many repeated lines of the below and then exits.

org.jitsi.jigasi.transcription.Transcriber.log() testing1@muc.meet.jitsi: reading from SSRC 0000000000 while it is not known as a participant

The transcript itself is just:

Transcript, started at 6:36:46 AM:
________________________________________________________________________________
<6:36:46 AM> Troy joined the conference
<6:36:48 AM> Fellow Jitser left the conference
<6:36:48 AM> Troy left the conference
jvb_1       | May 15, 2020 4:54:04 PM org.jitsi.utils.logging2.LoggerImpl log
jvb_1       | INFO: Assume that the remote side is Jigasi, we'll act as server
jicofo_1    | Jicofo 2020-05-15 16:54:04.696 INFO: [29] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.sendAddSourceIQ().445 Notify add SSRC testing1@muc.meet.jitsi/53589db6 SID: 10qiij6kaorq2 Sources{ audio: [ssrc=2835309435 ] video: [ssrc=1280590393 ssrc=193595226 ssrc=534468477 ssrc=3318800038 ssrc=2339031203 ssrc=4137195376 ] }@731785344 source_Groups{ video:[ SourceGroup(FID)[ ssrc=1280590393 ssrc=193595226 ]SourceGroup(FID)[ ssrc=534468477 ssrc=2339031203 ]SourceGroup(FID)[ ssrc=3318800038 ssrc=4137195376 ]SourceGroup(SIM)[ ssrc=1280590393 ssrc=534468477 ssrc=3318800038 ] ] }@2033883302
jvb_1       | May 15, 2020 4:54:04 PM org.jitsi.utils.logging2.LoggerImpl log
jvb_1       | INFO: Negotiated DTLS version DTLS 1.0
web_1       | 192.168.112.1 - - [15/May/2020:16:54:04 +1000] "POST /http-bind?room=testing1 HTTP/2.0" 200 1047 "https://aperim.chat/Testing1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"
jvb_1       | May 15, 2020 4:54:04 PM org.jitsi.utils.logging2.LoggerImpl log
jvb_1       | INFO: DTLS handshake complete
jvb_1       | May 15, 2020 4:54:04 PM org.jitsi.utils.logging2.LoggerImpl log
jvb_1       | INFO: Transport description:
jvb_1       |  <transport xmlns='urn:xmpp:jingle:transports:ice-udp:1' pwd='56p502ujbo94l07qe1fuih3epm' ufrag='5n9qo1e8bhp04d'><rtcp-mux/><fingerprint xmlns='urn:xmpp:jingle:apps:dtls:0' setup='passive' hash='sha-256'>49:B8:25:95:3E:2B:FE:02:9B:D6:E0:97:71:58:69:44:D9:F0:E8:17:4D:0B:EF:5D:F2:ED:4E:A0:9B:EA:BF:67</fingerprint><candidate component='1' foundation='1' generation='0' id='c8a42223155f7f80ffffffffc2f640b7' network='0' priority='2130706431' protocol='udp' type='host' ip='192.168.112.5' port='10000'/><candidate component='1' foundation='3' generation='0' id='68d43a1b3155f7f80ffffffffc2f640b3' network='0' priority='1862270975' protocol='udp' type='prflx' ip='192.168.112.1' port='10000' rel-addr='192.168.112.5' rel-port='10000'/><candidate component='1' foundation='2' generation='0' id='2abe331d3155f7f80ffffffffaae4f8bc' network='0' priority='1694498815' protocol='udp' type='srflx' ip='168.151.40.10' port='10000' rel-addr='192.168.112.5' rel-port='10000'/></transport>
jigasi_1    | Jigasi 2020-05-15 16:54:04.818 INFO: [114] org.jitsi.jigasi.JvbConference.callStateChanged().1182 [ctx=15895256430971074426127] JVB conference call IN_PROGRESS.
jigasi_1    | Jigasi 2020-05-15 16:54:04.819 WARNING: [114] org.jitsi.stats.media.StatsServiceFactory.log() KeyID/keyPath missing, will try using appSecret
jigasi_1    | Jigasi 2020-05-15 16:54:04.819 SEVERE: [114] org.jitsi.jigasi.stats.StatsHandler.lambda$startConferencePeriodicRunnable$0().281 Jitsi-stats library failed to initialize with reason: Missing parameres and error message: appSecret missing for account: Jabber:jigasi@auth.meet.jitsi
jigasi_1    | Jigasi 2020-05-15 16:54:04.820 WARNING: [114] org.jitsi.stats.media.StatsServiceFactory.log() appSecret missing. Skipping callstats init
jigasi_1    | Jigasi 2020-05-15 16:54:04.949 WARNING: [650] org.jitsi.jigasi.transcription.Transcriber.log() testing1@muc.meet.jitsi: reading from SSRC 2835309435 while it is not known as a participant
jigasi_1    | Jigasi 2020-05-15 16:54:04.969 WARNING: [650] org.jitsi.jigasi.transcription.Transcriber.log() testing1@muc.meet.jitsi: reading from SSRC 2835309435 while it is not known as a participant
jigasi_1    | Jigasi 2020-05-15 16:54:04.990 WARNING: [650] org.jitsi.jigasi.transcription.Transcriber.log() testing1@muc.meet.jitsi: reading from SSRC 2835309435 while it is not known as a participant