Relay live TS through the server, racing streams at start and failing over mid-show #41
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/stream-relay"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Streams kept failing on every TV: the pool redirected the TV to one provider and only learned a stream failed when the app asked again, so finding one that played meant trying sources one by one, about 5 seconds each.
With
RELAY_PORTset, live.tsgoes through a relay process on the server instead:pool_sourceslists the best 3.HLS and catch-up still redirect. Without
RELAY_PORTnothing changes.Checked on the VM against real providers: starts in 0.5 to 2.8 s, forced switches in 0.5 to 2.2 s, and real ksenqw/raptor captures through switches decode with ffmpeg with only the provider's own errors (down from about 690 before the parameter-set gate). 138 tests pass.