Show on a screen

From a screen's link to captions on the TV.

Bring the mosque's audio to that computer

Connect the sound system, for example a USB audio interface on the mixer's aux output. Make it the computer's default input, or pick it in the builder's Microphone step.

  • Every computer that shows captions needs this audio. A smart TV's own browser can't be used: it has no audio input.
  • Every computer that shows captions is its own Soniox stream: two computers cost twice.
  • Switch off sleep on that computer (self-hosted: also on the computer that runs Turjuman).

OBS Studio

  1. Start OBS with access to the microphone:

    Windows
    add --enable-media-stream to the Target of the OBS shortcut
    macOS
    /Applications/OBS.app/Contents/MacOS/OBS --enable-media-stream
    Linux
    obs --enable-media-stream
  2. Sources → + → Browser, and paste the link. Width 1920, height 1080.

  3. Turn off these two options:

    • Shutdown source when not visible
    • Refresh browser when scene becomes active
  4. On a TV: right-click the scene → Open Scene Projector → Display: … for the TV.

Self-hosted, with OBS on another computer than the one that runs Turjuman? That needs HTTPS on your network: Phone & network. With HTTPS on, OBS on the Turjuman computer itself can keep the http://127.0.0.1 link: On this computer in the app, or pnpm turjuman screens url <id> --local.

Without OBS

Open the link in a browser on the computer connected to the TV, allow the microphone, and press F11 for full screen.

More halls, more languages

  • The same screen on several displays: add the source once; in the other scenes, Sources → + → Browser → Add Existing, so it stays one session.
  • Another language: make another screen, with its own link.

On Friday, from your phone

  • A new screen starts off: switch it on in the app before the khutbah, and off after it (Soniox bills while it is on).
  • Send all sound (on by default) sends soft speech too. Off: only clear speech, and nothing while it is quiet.
  • Athan, Iqama, Salah and Stop show or end a prayer card by hand. Turjuman also recognises them by itself.
  • Clear wipes the captions on the screen; the transcript keeps everything.
  • Add the app to your phone's home screen to open it like an app.

Friday checklist

  1. Turjuman is running. Self-hosted: pnpm turjuman doctor (Docker: make doctor) shows no [FAIL]; a [warn] can be fine.

  2. OBS is open and the screen is on: in the app it shows “Connected · listening”. In OBS the screen stays empty until someone speaks.

  3. Speak a test sentence: the translation appears.

If it doesn't work

OBS shows the page, but no captionsStart OBS with --enable-media-stream, and turn both options of step 3 off.
“Microphone needs HTTPS”Open the page on the computer that runs Turjuman, or set up HTTPS: Phone & network.
The dot in the bottom-left corner stays orangeThe screen is off: switch it on in the app.
The dot is redSomething does not work: point at the dot in a browser, it says why. Pulsing: the page can't reach Turjuman.
The bar next to the dot stays short (or red or orange, with Send all sound off)The microphone hears too little: check that it is on and loud enough, or choose another one in the builder.
No captions, and no sound reaches the pageCheck the mixer's output and the computer's input. A microphone on one channel of the interface: pick Left or Right under Advanced in the builder's Microphone step. Add ?debug=1 to the screen link to see the microphone and its level.

More in the guide.