timotheeg / nestrischamps

A web-based OCR and restreamer system for NES Classic Tetris players
MIT License
48 stars 11 forks source link

Broadcast player stream in his/her own private room when playing in a match room #55

Closed timotheeg closed 3 years ago

timotheeg commented 3 years ago

Context

In traditional restreaming competition, a player streams his own gameplay with webcam with the Stencil layout, while the restreamer captures the stream, cuts it to its own layout needs, and restreams.

With nestrischamps, there is no restreaming any more. There's only hosting a game. Game data from the player goes straight to the restreamer view, saving badnwidth and latency for everyone involved.

BUT this is limiting, player still want to have their own stream at the same time, and while they can stream their webcam, they cannot stream their gameplay on windows (because the input game video feed cannot be shared by both OBS and chrome).

TODO:

When a player is attached to a host's match room, the connection should additionally be attached to his/her own private room.

That way, while the restreamer can use whatever layout they like, the player may feed his own game frame into one of the single player layouts.

timotheeg commented 3 years ago

Done