From: Rolf Ahrenberg
Would it help to modify the plugin's GetSTC() method only when replaying?
- if (Replaying())
- STC -= 500000L; // or configurable: 900L * ReelSetup.STCDelayMs;
Yes, that works. Complete fix for ReelBoxDevice.c around line 996:
- return (stc == 0) ? -1LL : stc; + if (Replaying()) + stc -= 520000L; + return (stc == 0) ? -1LL : (stc & 0x00000000FFFFFFFF);
With this change Reelbox delivers stc in correct format and timing is correct for live show. For recordings 520000 is suitable mid range offset on Yle SD feed. I assume that eHD buffer is for mpeg/h264 and delay is based on bit/s.