Skip to content

Commit 84d75a5

Browse files
committed
Adjusted style to work on mobile devices
2 parents 0c1eed2 + 8cf8b14 commit 84d75a5

File tree

202 files changed

+9945
-7286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+9945
-7286
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.git/
22
**/build/
3+
**/dist/
34
**/node_modules/
45
SignallingWebServer/platform_scripts/cmd/coturn/
56
SignallingWebServer/platform_scripts/cmd/node/

.github/workflows/create-gh-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ jobs:
4545
id: getversion
4646
run: echo "version=$(cat RELEASE_VERSION)" >> $GITHUB_OUTPUT
4747

48+
- name: Get node version
49+
id: get_node_version
50+
run: echo "node_version=$(cat NODE_VERSION)" >> $Env:GITHUB_OUTPUT
51+
4852
- uses: actions/setup-node@v3
4953
with:
50-
node-version: '18.17.0'
54+
node-version: ${{ steps.get_node_version.outputs.node_version }}
5155
registry-url: 'https://registry.npmjs.org'
5256

5357
- name: Build common library

.github/workflows/healthcheck-frontend.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,13 @@ jobs:
5151
# - name: Checkout source code
5252
# uses: actions/checkout@v3
5353
#
54+
# - name: Get node version
55+
# id: get_node_version
56+
# run: echo "node_version=$(cat NODE_VERSION)" >> $Env:GITHUB_OUTPUT
57+
#
5458
# - uses: actions/setup-node@v4
5559
# with:
56-
# node-version: 'v18.17.0'
60+
# node-version: ${{ steps.get_node_version.outputs.node_version }}
5761
#
5862
# - name: Download streamer
5963
# uses: robinraju/release-downloader@v1

.github/workflows/healthcheck-markdown-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: lychee
1717
uses: lycheeverse/lychee-action@v1.9.0
1818
with:
19-
args: --exclude 'localhost' --exclude 'github.com/EpicGames/UnrealEngine' --exclude '.png' --exclude '.jpg' --exclude-path 'SFU/mediasoup-sdp-bridge/README.md' './**/*.md'
19+
args: --github-token ${{ secrets.WORKFLOW_TOKEN }} --exclude 'localhost' --exclude 'github.com/EpicGames/UnrealEngine' --exclude '.png' --exclude '.jpg' --exclude-path 'SFU/mediasoup-sdp-bridge/README.md' './**/*.md'
2020

2121
- name: Create Issue From File
2222
if: env.lychee_exit_code != 0

.github/workflows/healthcheck-streaming.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,13 @@ jobs:
5252
- name: Checkout source code
5353
uses: actions/checkout@v3
5454

55+
- name: Get node version
56+
id: get_node_version
57+
run: echo "node_version=$(cat NODE_VERSION)" >> $Env:GITHUB_OUTPUT
58+
5559
- uses: actions/setup-node@v4
5660
with:
57-
node-version: 'v18.17.0'
61+
node-version: ${{ steps.get_node_version.outputs.node_version }}
5862

5963
- name: Download streamer
6064
uses: robinraju/release-downloader@v1
@@ -103,21 +107,22 @@ jobs:
103107
npm install
104108
npm run build
105109
106-
- name: Run Signalling
107-
working-directory: SignallingWebServer
108-
run: Start-Process "npm" -ArgumentList "run","start","--","--rest_api","--player_port 999","--http_root ${{ github.workspace }}\www"
109-
110-
- name: Run Streamer
111-
working-directory: Streamer
112-
run: Start-Process ".\Minimal\Binaries\Win64\Minimal-Cmd.exe" -ArgumentList "-warp","-dx12","-windowed","-resx=1920","-resy=720","-PixelStreamingURL=ws://localhost:8888","-RenderOffScreen","-AllowSoftwareRendering","-PixelStreamingEncoderCodec=vp8", "-Log=Minimal.log"
113-
114110
- name: Prepare test
115111
working-directory: Extras\MinimalStreamTester
116112
run: |
117113
npm install
118114
npx playwright install --with-deps
119115
npx playwright install chrome
120116
117+
- name: Run Signalling
118+
working-directory: SignallingWebServer
119+
# triple hyphen for npm script running issues. With double the arguments get mangled
120+
run: Start-Process powershell.exe -ArgumentList "npm","run","start","---","--rest_api","--player_port 999","--http_root ${{ github.workspace }}\www"
121+
122+
- name: Run Streamer
123+
working-directory: Streamer
124+
run: Start-Process ".\Minimal\Binaries\Win64\Minimal-Cmd.exe" -ArgumentList "-warp","-dx12","-windowed","-resx=1920","-resy=720","-PixelStreamingURL=ws://localhost:8888","-RenderOffScreen","-AllowSoftwareRendering","-PixelStreamingEncoderCodec=vp8", "-Log=Minimal.log"
125+
121126
- name: Wait for signalling to come up
122127
run: curl --retry 10 --retry-delay 20 --retry-connrefused http://localhost:999/api/status
123128

Common/docs/.nojekyll

Lines changed: 0 additions & 1 deletion
This file was deleted.

Common/docs/Event/EventEmitter/classes/EventEmitter.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Class: EventEmitter
88

9-
Defined in: [Event/EventEmitter.ts:63](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L63)
9+
Defined in: [Event/EventEmitter.ts:63](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L63)
1010

1111
A feature-limited, but _mostly_ drop-in replacement for Node's EventEmitter type that is implemented using EventTarget.
1212

@@ -55,7 +55,7 @@ myEmitter.emit('event');
5555

5656
> **new EventEmitter**(): [`EventEmitter`](EventEmitter.md)
5757
58-
Defined in: [Event/EventEmitter.ts:66](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L66)
58+
Defined in: [Event/EventEmitter.ts:66](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L66)
5959

6060
#### Returns
6161

@@ -71,7 +71,7 @@ Defined in: [Event/EventEmitter.ts:66](https://github.com/mcottontensor/PixelStr
7171

7272
> **addListener**(`eventName`, `listener`): `this`
7373
74-
Defined in: [Event/EventEmitter.ts:96](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L96)
74+
Defined in: [Event/EventEmitter.ts:96](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L96)
7575

7676
Alias for `emitter.on(eventName, listener)`.
7777

@@ -95,7 +95,7 @@ Alias for `emitter.on(eventName, listener)`.
9595

9696
> **emit**(`eventName`, ...`args`): `boolean`
9797
98-
Defined in: [Event/EventEmitter.ts:262](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L262)
98+
Defined in: [Event/EventEmitter.ts:262](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L262)
9999

100100
Synchronously calls each of the listeners registered for the event named `eventName`, in the order they were registered, passing the supplied arguments
101101
to each.
@@ -155,7 +155,7 @@ myEmitter.emit('event', 1, 2, 3, 4, 5);
155155

156156
> **off**(`eventName`, `listener`): `this`
157157
158-
Defined in: [Event/EventEmitter.ts:196](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L196)
158+
Defined in: [Event/EventEmitter.ts:196](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L196)
159159

160160
Alias for `emitter.removeListener()`.
161161

@@ -179,7 +179,7 @@ Alias for `emitter.removeListener()`.
179179

180180
> **on**(`eventName`, `listener`): `this`
181181
182-
Defined in: [Event/EventEmitter.ts:115](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L115)
182+
Defined in: [Event/EventEmitter.ts:115](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L115)
183183

184184
Adds the `listener` function to the end of the listeners array for the event
185185
named `eventName`.
@@ -216,7 +216,7 @@ The callback function
216216

217217
> **once**(`eventName`, `listener`): `this`
218218
219-
Defined in: [Event/EventEmitter.ts:148](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L148)
219+
Defined in: [Event/EventEmitter.ts:148](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L148)
220220

221221
Adds a **one-time** `listener` function for the event named `eventName`. The
222222
next time `eventName` is triggered, this listener is removed and then invoked.
@@ -253,7 +253,7 @@ The callback function
253253

254254
> **removeAllListeners**(`eventName`): `this`
255255
256-
Defined in: [Event/EventEmitter.ts:204](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L204)
256+
Defined in: [Event/EventEmitter.ts:204](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L204)
257257

258258
Removes all listeners, or those of the specified `eventName`.
259259
Returns a reference to the `EventEmitter`, so that calls can be chained.
@@ -274,7 +274,7 @@ Returns a reference to the `EventEmitter`, so that calls can be chained.
274274

275275
> **removeListener**(`eventName`, `listener`): `this`
276276
277-
Defined in: [Event/EventEmitter.ts:188](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Event/EventEmitter.ts#L188)
277+
Defined in: [Event/EventEmitter.ts:188](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Event/EventEmitter.ts#L188)
278278

279279
Removes the specified `listener` from this EventEmitter.
280280

Common/docs/Logger/Logger/classes/LoggerContext.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Class: LoggerContext
88

9-
Defined in: [Logger/Logger.ts:23](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L23)
9+
Defined in: [Logger/Logger.ts:23](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L23)
1010

1111
The global context for the logger configuration.
1212
This cannot be stored statically in the Logger class because we sometimes have multiple execution
@@ -29,12 +29,12 @@ to be shared with any Logger instances.
2929

3030
> **includeStack**: `boolean` = `true`
3131
32-
Defined in: [Logger/Logger.ts:25](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L25)
32+
Defined in: [Logger/Logger.ts:25](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L25)
3333

3434
***
3535

3636
### logLevel
3737

3838
> **logLevel**: [`LogLevel`](../enumerations/LogLevel.md) = `LogLevel.Debug`
3939
40-
Defined in: [Logger/Logger.ts:24](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L24)
40+
Defined in: [Logger/Logger.ts:24](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L24)

Common/docs/Logger/Logger/classes/LoggerType.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Class: LoggerType
88

9-
Defined in: [Logger/Logger.ts:44](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L44)
9+
Defined in: [Logger/Logger.ts:44](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L44)
1010

1111
A basic console logger utilized by the Pixel Streaming frontend to allow
1212
logging to the browser console.
@@ -31,15 +31,15 @@ logging to the browser console.
3131

3232
> `optional` **context**: [`LoggerContext`](LoggerContext.md)
3333
34-
Defined in: [Logger/Logger.ts:45](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L45)
34+
Defined in: [Logger/Logger.ts:45](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L45)
3535

3636
## Methods
3737

3838
### Debug()
3939

4040
> **Debug**(`message`): `void`
4141
42-
Defined in: [Logger/Logger.ts:60](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L60)
42+
Defined in: [Logger/Logger.ts:60](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L60)
4343

4444
Logging output for debugging
4545

@@ -65,7 +65,7 @@ the message to be logged
6565

6666
> **Error**(`message`): `void`
6767
68-
Defined in: [Logger/Logger.ts:93](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L93)
68+
Defined in: [Logger/Logger.ts:93](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L93)
6969

7070
Error logging
7171

@@ -91,7 +91,7 @@ the message to be logged
9191

9292
> **Info**(`message`): `void`
9393
94-
Defined in: [Logger/Logger.ts:71](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L71)
94+
Defined in: [Logger/Logger.ts:71](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L71)
9595

9696
Basic logging output for standard messages
9797

@@ -117,7 +117,7 @@ the message to be logged
117117

118118
> **InitLogging**(`logLevel`, `includeStack`): `void`
119119
120-
Defined in: [Logger/Logger.ts:50](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L50)
120+
Defined in: [Logger/Logger.ts:50](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L50)
121121

122122
Set the log verbosity level
123123

@@ -145,7 +145,7 @@ Set the log verbosity level
145145

146146
> **Warning**(`message`): `void`
147147
148-
Defined in: [Logger/Logger.ts:82](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L82)
148+
Defined in: [Logger/Logger.ts:82](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L82)
149149

150150
Logging for warnings
151151

Common/docs/Logger/Logger/enumerations/LogLevel.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,44 @@
66

77
# Enumeration: LogLevel
88

9-
Defined in: [Logger/Logger.ts:9](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L9)
9+
Defined in: [Logger/Logger.ts:9](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L9)
1010

1111
## Enumeration Members
1212

1313
### Debug
1414

1515
> **Debug**: `4`
1616
17-
Defined in: [Logger/Logger.ts:14](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L14)
17+
Defined in: [Logger/Logger.ts:14](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L14)
1818

1919
***
2020

2121
### Disabled
2222

2323
> **Disabled**: `0`
2424
25-
Defined in: [Logger/Logger.ts:10](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L10)
25+
Defined in: [Logger/Logger.ts:10](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L10)
2626

2727
***
2828

2929
### Error
3030

3131
> **Error**: `1`
3232
33-
Defined in: [Logger/Logger.ts:11](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L11)
33+
Defined in: [Logger/Logger.ts:11](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L11)
3434

3535
***
3636

3737
### Info
3838

3939
> **Info**: `3`
4040
41-
Defined in: [Logger/Logger.ts:13](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L13)
41+
Defined in: [Logger/Logger.ts:13](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L13)
4242

4343
***
4444

4545
### Warning
4646

4747
> **Warning**: `2`
4848
49-
Defined in: [Logger/Logger.ts:12](https://github.com/mcottontensor/PixelStreamingInfrastructure/blob/5fb85fd65be1623aae0ff7d1b463a27836d35a34/Common/src/Logger/Logger.ts#L12)
49+
Defined in: [Logger/Logger.ts:12](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/e5168fb9b95d09ea76d485376bd036403b747ad2/Common/src/Logger/Logger.ts#L12)

0 commit comments

Comments
 (0)