fpv-wtf / wtfos-configurator

Configurator for wtfos, with built in margerine
GNU Affero General Public License v3.0
42 stars 16 forks source link

SRT overlay v2.3.0 is not displaying video signal strenght #424

Open dev-fred opened 1 month ago

dev-fred commented 1 month ago

Device

Goggles V2

Operating System (Including version)

windows

Browser

Edge

Trace ID (bottom left of the configurator screen)

v2.3.0 - Trace ID: 005904b1-64c3-4126-b0e0-f1f05000de03

Describe the issue

Hi, Using WTFOS MSP-OSD v0.12,INAV 7.1, the SRT overlay v2.3.0 display "CH65535"

Capture d’écran 2024-06-03 062222

instead of the value of the video signal strenght:

Capture d’écran 2024-06-03 062339

dev-fred commented 1 month ago

I realize it's a choice not a bug, source file worker.ts contains :

  _if (srtFrame) {
    drawText(osdCtx, srtFrame.ch, 120, 785, true);
    drawText(osdCtx, srtFrame.delay, 1190, 710);
    drawText(osdCtx, srtFrame.bitrate, 1320, 710);
    drawText(osdCtx, srtFrame.uavBat, 1060, 785, true);
    drawText(osdCtx, srtFrame.flightTime, 1200, 785, true);
    drawText(osdCtx, srtFrame.glsBat, 1350, 785, true);
  }_

To display signal, just a line like drawText(osdCtx, srtFrame.signal, 300, 785, true); will display the value.