mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat: Add streaming support (#125)
This adds: - [x] Keyboard and mouse handling on the frontend - [x] Video and audio streaming from the backend to the frontend - [x] Input server that works with Websockets Update - 17/11 - [ ] Master docker container to run this - [ ] Steam runtime - [ ] Entrypoint.sh --------- Co-authored-by: Kristian Ollikainen <14197772+DatCaptainHorse@users.noreply.github.com> Co-authored-by: Kristian Ollikainen <DatCaptainHorse@users.noreply.github.com>
This commit is contained in:
17
packages/relay/dev/server.sh
Executable file
17
packages/relay/dev/server.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/bash -e
|
||||
|
||||
# sudo apt install build-essential -y
|
||||
|
||||
# To run tests, run the relay first - go run main.go.
|
||||
# Run the docker container next - docker run --rm --init -d --device /dev/dri --network=host test-server
|
||||
# Then run the nestri-test-server - cd packages/relay/dev cargo run
|
||||
# Then run the frontend site, and navigate to http://localhost:5713/play/test
|
||||
|
||||
# Expected behavior, see some random messages on the browser's console tab
|
||||
# And if you input works correctly, it should be logged to the console on the server-side of things
|
||||
|
||||
# docker build -t test-server -f Containerfile .
|
||||
|
||||
# docker run --rm --init -d --device /dev/dri --network=host test-server
|
||||
|
||||
# echo -e "Navigate to http://localhost:5713/play/test"
|
||||
Reference in New Issue
Block a user