Show on a screen
From a screen's link to captions on the TV.
A screen is one link
- Every screen has its own screen link,
…/feed/…. Copy it in the app: the screen's Show on a screen. - Self-hosted, the app asks where OBS or the browser runs: On this computer (the one that runs Turjuman) gives the
http://127.0.0.1link, On another computer or TV the HTTPS link. - Show it in OBS Studio as a Browser source, or full screen in any browser.
- The page listens through the microphone of the computer that shows it.
- Keep it private: anyone with this link can show this screen, on your Soniox credit. New link replaces it, and the old link stops working at once.
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
Start OBS with access to the microphone:
- Windows
- add
--enable-media-streamto the Target of the OBS shortcut - macOS
/Applications/OBS.app/ Contents/ MacOS/ OBS --enable-media-stream - Linux
obs --enable-media-stream
Sources → + → Browser, and paste the link. Width 1920, height 1080.
Turn off these two options:
- Shutdown source when not visible
- Refresh browser when scene becomes active
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
Turjuman is running. Self-hosted:
pnpm turjuman doctor(Docker:make doctor) shows no[FAIL]; a[warn]can be fine.OBS is open and the screen is on: in the app it shows “Connected · listening”. In OBS the screen stays empty until someone speaks.
Speak a test sentence: the translation appears.
If it doesn't work
| OBS shows the page, but no captions | Start 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 orange | The screen is off: switch it on in the app. |
| The dot is red | Something 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 page | Check 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.