~morphis/+git/cloud-gaming-demo:main

Last commit made on 2022-06-23
Get this branch:
git clone -b main https://git.launchpad.net/~morphis/+git/cloud-gaming-demo
Only Simon Fels can upload to this branch. If you are Simon Fels please log in for upload directions.

Branch merges

Branch information

Name:
main
Repository:
lp:~morphis/+git/cloud-gaming-demo

Recent commits

19f447d... by Simon Fels

Merge pull request #21 from adglkh/bypass_proxy

fix(snap): bypass the proxy setup in launchpad

0291a24... by Gary.Wang

fix(snap): bypass the proxy setup in launchpad

To build the snap on launchpad, where a builder proxy is setup, making
a request to 127.0.0.1 won't work. Hence we have to unset the proxy
for 127.0.0.1 to get the snap built on launchpad.

Test: build snap on launchpad

0b2c687... by Simon Fels

Merge pull request #20 from adglkh/streaming_on_firefox

Fix the streaming on firefox

a7cd37e... by Gary.Wang

fix(ui): keep the anbox-stream-sdk.js file up to date (1.14.1)

Test: a game can be launched from cloud gaming demo

2a7d201... by Gary.Wang

fix(ui): start a new session after displaying webpage in fullscreen mode

The following error occurred when streaming cloud-gaming demo on firefox,

```
Firefox can’t establish a connection to the server at wss://<xxx.xxx.xxx.xxx>1.0/sessions/<session_id>/sockets/slave/?token=<token> anbox-stream-sdk.js:334:17
The connection to wss://<xxx.xxx.xxx.xxx>1.0/sessions/<session_id>/sockets/slave/?token=<token> was interrupted while the page was loading.
```

The issue here is that Element.requestFullscreen() method issues an
asynchronous request to make the element be displayed in fullscreen
mode. If we call stream.connect() function where anbox stream makes
use of websocket to connect signaller right after the requestFullscreen,
the websocket connection will get interrupted on firefox due the webpage
is reloaded because of entering the fullscreen mode.

To resolve this issue, we need to start a new session right after the
webpage is in fullscreen mode. In this way, we ensure a reliable
websocket connection without any interruption happening during
a session creation time.

Test: a game can be launched on firefox

19a6d39... by Gary.Wang

fix(scripts): fix the broken API download link for bombsquad

As a new version of BombSquad is published, the old one was moved
from the top level folder to the old one of the file sharing website,
this broke the installation of the cloud-gaming demo.

To avoid changing the APK download url frequently whenever a new
release is published, we now use the fixed download URL which points
to 1.17.1 version by default.

Test: run install script

7a27ac6... by Simon Fels

Merge pull request #19 from adglkh/fix_broken_api_url

fix(scripts): fix the broken download link of bombsquad APK

586bc7a... by Gary.Wang

fix(scripts): fix the broken download link of bombsquad APK

The new version of bombsquad was released recently and the old version
(BombSquad_Android_Generic_1.6.10.apk) has been moved to '
`https://files.ballistica.net/bombsquad/builds/old/` folder.

Updating the download link of bombsquad APK pointing to the latest
version to avoid installation of cloud gaming demo being aborted
due to the broken download link.

cd75728... by Simon Fels

Merge pull request #14 from adglkh/doc_build_ui

feat(doc): document how to build Web UI

445a92f... by Gary.Wang

fix(script): remove the workaround that generated the gateway token via juju