Skip to content

Commit 4743580

Browse files
authored
Merge branch 'main' into v1.0.0-rc.2_preRelease
2 parents 9751bb2 + 3b50972 commit 4743580

File tree

5 files changed

+188
-166
lines changed

5 files changed

+188
-166
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 - 2022 TensorWorks Pty Ltd
3+
Copyright (c) 2021 - 2024 TensorWorks Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
1-
# Scalable Pixel Streaming Frontend
1+
# Scalable Pixel Streaming frontend
22

3-
This is the web frontend for [Scalable Pixel Streaming (SPS)](https://scalablestreaming.io).
3+
This repository contains the web frontend for [Scalable Pixel Streaming (SPS)](https://scalablestreaming.io), which is a lightweight wrapper implementation of Epic Games [Pixel Streaming frontend](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/tree/master/Frontend).
44

5-
The SPS frontend is a lightweight implementation of Epic Games' [Pixel Streaming frontend](https://github.com/EpicGames/PixelStreamingInfrastructure/tree/master/Frontend).
6-
7-
## Features of the SPS Frontend
5+
## Features of the SPS frontend
86

97
- [Extensions](./library/src/SignallingExtension.ts) to the default signalling messages to communicate with our custom signalling server.
10-
- The sending of [streaming statistics](./library/src/SPSApplication.ts#L38) to our signalling server.
8+
- [Streaming statistics](./library/src/SPSApplication.ts#L38) are being sent to our signalling server.
119

1210
## Documentation
1311

1412
### Utilising the Scalable Pixel Streaming Frontend
15-
Below is a comprehensive guide for accessing the Scalable Pixel Streaming Frontend. This guide includes where to download the library, how to consume it and how to customise it for usage in different projects.
16-
- [Scalable Pixel Streaming Frontend utilisation guide](./docs/frontend_utilisation_guide.md)
1713

18-
### Migrating from Scalable Pixel Streaming Frontend
19-
In general, the official Epic Games Pixel Streaming [Frontend docs](https://github.com/EpicGames/PixelStreamingInfrastructure/tree/master/Frontend) should cover most common usage cases (as our library is simply a thin wrapper on that). However, some Scalable Pixel Streaming Frontend specific docs are listed below:
14+
Refer to our [Scalable Pixel Streaming frontend utilisation guide](./docs/frontend_utilisation_guide.md) for accessing the Scalable Pixel Streaming frontend, downloading the library, consuming it, and customising it for usage in different projects.
15+
16+
### Migrating legacy Scalable Pixel Streaming frontend
17+
18+
All SPS versions since `v0.1.4` are using the current version of Epic Games Pixel Streaming frontend. Refer to [our migration guide](./docs/api_transition_guide.md) if your frontend predates this version.
2019

21-
- [Migrating from Scalable Pixel Streaming Frontend <=0.1.4](./docs/api_transition_guide.md)
20+
### Scalable Pixel Streaming frontend reference
2221

23-
### Scalable Pixel Streaming Frontend Reference section
24-
The Scalable Pixel Streaming Frontend is a part of a complex system which abstracts a lot of its complexities behind the library. Below is a useful collection of references which explain how the Scalable Pixel Streaming Frontend fits within Scalable Pixel Streaming as a whole.
25-
- [Scalable Pixel Streaming Frontend Reference guide](./docs/sps_frontend_refrence_guide.md)
22+
The Scalable Pixel Streaming frontend is part of a complex system that abstracts a lot of its complexities behind the library. Refer to our [reference guide](./docs/sps_frontend_refrence_guide.md) to gain a deeper understanding of how the SPS frontend fits within Scalable Pixel Streaming as a whole.
2623

2724
## Issues
2825

29-
As the SPS frontend is a lightweight implementation of the Epic Games frontend, the majority of issues should be reported to the Epic Games frontend [here](https://github.com/EpicGames/PixelStreamingInfrastructure/issues).
26+
As the SPS frontend is an implementation of the Epic Games Pixel Streaming frontend, the majority of issues will pertain to the Epic Games frontend and should be reported on [their repository](https://github.com/EpicGamesExt/PixelStreamingInfrastructure/issues).
3027

31-
However, in cases where you are certain it is an SPS specific frontend issue, please report your issue [here](https://github.com/ScalablePixelStreaming/Frontend/issues).
28+
If you encounter an issue specific to the SPS implementation, please report it [here](https://github.com/ScalablePixelStreaming/Frontend/issues).
3229

3330

3431
## Legal
3532

36-
Copyright &copy; 2021 - 2023, TensorWorks Pty Ltd. Licensed under the MIT License, see the file [LICENSE](./LICENSE) for details.
33+
Copyright &copy; 2021 - 2024, TensorWorks Pty Ltd. Licensed under the MIT License, see the [license file](./LICENSE) for details.

docs/api_transition_guide.md

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
# Migrating from `libspsfrontend` <=0.1.4
1+
# Migrating from `libspsfrontend` predating `v0.1.4`
22

3-
All SPS versions after `0.1.4` are now using the [Epic Games' Pixel Streaming frontend](https://github.com/EpicGames/PixelStreamingInfrastructure/tree/master/Frontend). This shift to the Epic frontend has caused us to change both our API and our NPM packages.
3+
SPS frontend changed to use the [Epic Games Pixel Streaming frontend](https://github.com/EpicGames/PixelStreamingInfrastructure/tree/master/Frontend) since version `0.1.4`, which involved modifications both to our API and NPM packages.
44

5-
---
5+
Below are some common usages of the SPS frontend API that have changed. Note that this list is not exhaustive, if you encounter more differences, please open an issue on this repository to report them.
66

7-
# API Usage
7+
### Listening for UE messages
88

9-
Below are common usage of SPS Frontend API that have now changed (this list is not exhaustive, if there are more you would like documented please open an issue).
9+
Refer to [this PR](https://github.com/EpicGames/PixelStreamingInfrastructure/pull/132) for more details.
1010

11-
## Listening for UE messages
12-
13-
**Before:**
11+
Before:
1412
```js
1513
iWebRtcController.dataChannelController.onResponse = (messageBuffer) => {
1614
/* whatever */
1715
}
1816
```
1917

20-
**Now:**
18+
Now:
2119
```js
2220
pixelstreaming.addResponseEventListener(name, funct)
2321

@@ -26,38 +24,30 @@ pixelstreaming.addResponseEventListener(name, funct)
2624
pixelstreaming.removeResponseEventListener(name)
2725
```
2826

29-
(More details [here](https://github.com/EpicGames/PixelStreamingInfrastructure/pull/132))
30-
31-
---
27+
### Sending messages to UE
3228

33-
## Sending messages to UE
29+
Refer to [this PR](https://github.com/EpicGames/PixelStreamingInfrastructure/pull/132) for more details.
3430

35-
**Before:**
31+
Before:
3632
```js
3733
iWebRtcController.sendUeUiDescriptor(JSON.stringify({ /* whatever */ } ))
3834
```
3935

40-
**Now:**
36+
Now:
4137
```js
4238
pixelstreaming.emitUIInteraction(data: object | string)
4339
```
4440

45-
(More details [here](https://github.com/EpicGames/PixelStreamingInfrastructure/pull/132))
46-
47-
---
41+
### Listening for WebRTC stream start
4842

49-
## Listen for WebRTC stream start?
43+
Refer to [this PR](https://github.com/EpicGames/PixelStreamingInfrastructure/pull/110) for more details.
5044

51-
**Before:**
45+
Before:
5246
```js
5347
override onVideoInitialised()
5448
```
5549

56-
**Now:**
50+
Now:
5751
```js
5852
pixelStreaming.addEventListener("videoInitialized", ()=> { /* Do something */ });
5953
```
60-
61-
(More details [here](https://github.com/EpicGames/PixelStreamingInfrastructure/pull/110))
62-
63-
------

0 commit comments

Comments
 (0)