[GH-ISSUE #78] Could games-on-whales support WebRTC to stream to a browser? #56

Closed
opened 2026-10-15 12:55:31 +00:00 by bsakaguchi · 10 comments
Owner

Originally created by @guozanhua218 on GitHub (Jun 8, 2024).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/78

Originally created by @guozanhua218 on GitHub (Jun 8, 2024). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/78
bsakaguchi 2026-10-15 12:55:31 +00:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@ABeltramo commented on GitHub (Jun 8, 2024):

At the moment Wolf only supports Moonlight but, since most of the components that are used here are completely independent it's not too hard to add support for other types of streaming protocols.

Gstreamer (the library that we use in order to create the audio/video pipeline) has great support for WebRTC out of the box. The only real bit missing to make this happening is "just" a proper Web UI and some glue code to expose the client devices (mouse, keyboard, joypads) over the browser and all the way back to the remote Wolf instance.

This is something that I might revisit in future, if anyone wants to give it a shot I'd be happy to help and provide all the relevant information in how to integrate WebRTC (or even better MoQ).

<!-- gh-comment-id:2156153659 --> @ABeltramo commented on GitHub (Jun 8, 2024): At the moment Wolf only supports Moonlight but, since most of the components that are used here are completely independent it's not too hard to add support for other types of streaming protocols. Gstreamer (the library that we use in order to create the audio/video pipeline) has great support for WebRTC out of the box. The only real bit missing to make this happening is "just" a proper Web UI and some glue code to expose the client devices (mouse, keyboard, joypads) over the browser and all the way back to the remote Wolf instance. This is something that I might revisit in future, if anyone wants to give it a shot I'd be happy to help and provide all the relevant information in how to integrate WebRTC (or even better MoQ).
Author
Owner

@guozanhua218 commented on GitHub (Jun 9, 2024):

At the moment Wolf only supports Moonlight but, since most of the components that are used here are completely independent it's not too hard to add support for other types of streaming protocols.

Gstreamer (the library that we use in order to create the audio/video pipeline) has great support for WebRTC out of the box. The only real bit missing to make this happening is "just" a proper Web UI and some glue code to expose the client devices (mouse, keyboard, joypads) over the browser and all the way back to the remote Wolf instance.

This is something that I might revisit in future, if anyone wants to give it a shot I'd be happy to help and provide all the relevant information in how to integrate WebRTC (or even better MoQ).

Yes, I am interested in this. Can you provide me with more information in how to integrate WebRTC(or MoQ) and then I will try

<!-- gh-comment-id:2156311745 --> @guozanhua218 commented on GitHub (Jun 9, 2024): > At the moment Wolf only supports Moonlight but, since most of the components that are used here are completely independent it's not too hard to add support for other types of streaming protocols. > > Gstreamer (the library that we use in order to create the audio/video pipeline) has great support for WebRTC out of the box. The only real bit missing to make this happening is "just" a proper Web UI and some glue code to expose the client devices (mouse, keyboard, joypads) over the browser and all the way back to the remote Wolf instance. > > This is something that I might revisit in future, if anyone wants to give it a shot I'd be happy to help and provide all the relevant information in how to integrate WebRTC (or even better MoQ). Yes, I am interested in this. Can you provide me with more information in how to integrate WebRTC(or MoQ) and then I will try
Author
Owner

@ABeltramo commented on GitHub (Jun 9, 2024):

Sure, I've put down some basic instructions in a gist here. That should get you started with gst-wayland-display + inputtino so that you'll hopefully end up with something like:

https://github.com/games-on-whales/wolf/assets/1122217/7be6db9c-5216-4b03-b4bd-1c9075d9e124

I hope this helps as a very basic starting point, let me know how it goes!

<!-- gh-comment-id:2156366589 --> @ABeltramo commented on GitHub (Jun 9, 2024): Sure, I've put down some basic instructions in a gist [here](https://gist.github.com/ABeltramo/39284b1731bb1aea4c09d425ec0fcd6a). That should get you started with `gst-wayland-display` + `inputtino` so that you'll hopefully end up with something like: https://github.com/games-on-whales/wolf/assets/1122217/7be6db9c-5216-4b03-b4bd-1c9075d9e124 I hope this helps as a very basic starting point, let me know how it goes!
Author
Owner

@guozanhua218 commented on GitHub (Jun 10, 2024):

Current the solution of GOW only support the games in linux platform, can't support window's games?

<!-- gh-comment-id:2157079797 --> @guozanhua218 commented on GitHub (Jun 10, 2024): Current the solution of GOW only support the games in linux platform, can't support window's games?
Author
Owner

@ABeltramo commented on GitHub (Jun 10, 2024):

Current the solution of GOW only support the games in linux platform, can't support window's games?

Thanks to Steam Proton, we can run most Windows games in Linux!

<!-- gh-comment-id:2157450098 --> @ABeltramo commented on GitHub (Jun 10, 2024): > Current the solution of GOW only support the games in linux platform, can't support window's games? Thanks to Steam Proton, we can run most Windows games in Linux!
Author
Owner

@guozanhua218 commented on GitHub (Jun 10, 2024):

Current the solution of GOW only support the games in linux platform, can't support window's games?

Thanks to Steam Proton, we can run most Windows games in Linux!

Use wine in Linux?

<!-- gh-comment-id:2158418010 --> @guozanhua218 commented on GitHub (Jun 10, 2024): > > Current the solution of GOW only support the games in linux platform, can't support window's games? > > Thanks to Steam Proton, we can run most Windows games in Linux! Use wine in Linux?
Author
Owner

@guozanhua218 commented on GitHub (Jun 10, 2024):

Current the solution of GOW only support the games in linux platform, can't support window's games?

Thanks to Steam Proton, we can run most Windows games in Linux!

Use wine in Linux?

Steam Play?

<!-- gh-comment-id:2158419985 --> @guozanhua218 commented on GitHub (Jun 10, 2024): > > > Current the solution of GOW only support the games in linux platform, can't support window's games? > > > > > > Thanks to Steam Proton, we can run most Windows games in Linux! > > Use wine in Linux? Steam Play?
Author
Owner

@zslliu commented on GitHub (Jun 14, 2024):

Sure, I've put down some basic instructions in a gist here. That should get you started with gst-wayland-display + inputtino so that you'll hopefully end up with something like:当然,我在这里列出了一些基本说明。这应该让你从 gst-wayland-display + inputtino 开始,这样你就有希望最终得到类似的结果:

webrtc+inputtino.mp4
I hope this helps as a very basic starting point, let me know how it goes!我希望这能作为一个非常基本的起点有所帮助,让我知道进展如何!

The test connection was successful on an Ubuntu computer, but only a black window could be seen.
2
3
1

<!-- gh-comment-id:2167316490 --> @zslliu commented on GitHub (Jun 14, 2024): > Sure, I've put down some basic instructions in a gist [here](https://gist.github.com/ABeltramo/39284b1731bb1aea4c09d425ec0fcd6a). That should get you started with `gst-wayland-display` + `inputtino` so that you'll hopefully end up with something like:当然,我在这里列出了一些基本说明。这应该让你从 `gst-wayland-display` + `inputtino` 开始,这样你就有希望最终得到类似的结果: > > webrtc+inputtino.mp4 > I hope this helps as a very basic starting point, let me know how it goes!我希望这能作为一个非常基本的起点有所帮助,让我知道进展如何! The test connection was successful on an Ubuntu computer, but only a black window could be seen. ![2](https://github.com/games-on-whales/wolf/assets/36098473/b4f0e9a7-e499-43a4-94a4-f83a1c5f4662) ![3](https://github.com/games-on-whales/wolf/assets/36098473/20755b94-9585-4d7d-b0d4-e228365b066f) ![1](https://github.com/games-on-whales/wolf/assets/36098473/46f17bbc-f2e2-45d5-b2db-21b31f329377)
Author
Owner

@ghost commented on GitHub (Jun 15, 2024):

maybe this helps

https://github.com/selkies-project/docker-nvidia-egl-desktop

<!-- gh-comment-id:2169884083 --> @ghost commented on GitHub (Jun 15, 2024): maybe this helps https://github.com/selkies-project/docker-nvidia-egl-desktop
Author
Owner

@ABeltramo commented on GitHub (Jul 9, 2024):

So does Kasm and others, this is a different project with a different focus. Besides, spamming your project in all issues is not cool.

<!-- gh-comment-id:2218098571 --> @ABeltramo commented on GitHub (Jul 9, 2024): So does Kasm and others, this is a different project with a different focus. Besides, spamming your project in all issues is not cool.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
games-on-whales/wolf#56
No description provided.