Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jul 14:37
· 94 commits to main since this release

Server

  • add boltDB : Currently, it only stores room info.
  • There is a coroutine to periodically sync state from RAM to DB
  • added a new api: POST /api/room : streamer must call this to request create room before connecting via WebSocket. This API performs some checks:
    • version checking of TStream. if the version is not compatible => return 426 to streamer
    • In case streamer requests to add a room already existed => user wants to reconnect, or maybe the room is taken by someone else. The server then checks the secret of the request with the room's Secret => if match then allows users to proceed

TStream

  • Add check if the user starts TStream inside a TStream session: using TSTREAM_SESSION env
  • When TStream is started it will generate a config at ~/.tstream.conf. Currently store: secret, and username
  • Version checking, display message require the user to upgrade if fails

Viewer

  • Add show recent streams on home page
  • Improve room state checking to display the right status
  • Improve responsiveness