Lower low-latency #6

Closed
opened 2022-11-15 21:52:21 +00:00 by skeh · 1 comment
skeh commented 2022-11-15 21:52:21 +00:00 (Migrated from code.vtopia.live)

The live-streaming latency, even when in low-latency mode, leaves a little to be desired when compared to proprietary solutions

Proposed solution:

  • Implement a dedicated low latency media loader using VHS (as P2P is disabled in low latency mode anyways)
  • Utilize the latency compensation technique from owncast to keep the player as close as possible to the live edge
    • Add a "live segment transmission delay" admin configuration option (to handle cases where a CDN has been configured), and use that to set the targets used in compensation
  • As this may be non-conformant (iirc), pushing closer than the HLS spec minimum buffer could be opt-in for the user (as is done on twitch)
The live-streaming latency, even when in low-latency mode, leaves a little to be desired when compared to proprietary solutions Proposed solution: + Implement a dedicated low latency media loader using [VHS](https://github.com/videojs/http-streaming) (as P2P is disabled in low latency mode anyways) + This would also open the door for future improvements, such as implementing [LL-HLS](https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_http_live_streaming_hls) once [support is available](https://github.com/videojs/http-streaming/issues/721) + Utilize the [latency compensation](https://github.com/owncast/vhs-latency-compensator) technique from owncast to keep the player as close as possible to the live edge + Add a "live segment transmission delay" admin configuration option (to handle cases where a CDN has been configured), and use that to set the targets used in compensation + As this may be non-conformant (iirc), pushing closer than the HLS spec minimum buffer could be opt-in for the user (as is done on twitch)
skeh commented 2022-11-15 21:52:40 +00:00 (Migrated from code.vtopia.live)
RFC submitted upstream - https://github.com/Chocobozzz/PeerTube/issues/5412
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: skeh/VeeTube#6
No description provided.