/kaukosohva

Play games remotely with Linux

Primary LanguageShell

kaukosohva

Play games remotely with Linux.

Current state

This is proof of concept prototype for technical users.

Architecture

Architecture

Main problems TODO

  • Lower the latency for streaming
    • Minimize streaming buffer(s)
    • Tune h264 parameters for lowest latency
    • Tune RTP parameters for lowest latency
    • Constant or variable bitrate (CBR or VBR)?

FAQ

See

  • host directory for how to host a game
  • remote-player directory for how to connect to a host as a remote player

Research

Not tested yet

If h264 over RTP multicast doesn't pan out there's still many things to try with GStreamer:

  • Drop multicast and stream to UDP port in a remote player's machine (this limits player count)
  • Try h264 inside MPEG-TS container over multicast
  • Try GStreamer's RTSP server if the host doesn't have enough upload bandwidth for all players there's RTSP proxies like rtsp-simple-server
  • RTMP
  • SRT
  • and others

Tested, didn't work

  • ffmpeg, mpv, vlc
    • too many buffers
    • 1000-4000 ms+ latency even locally