Skip to content

Commit

Permalink
update versioning to rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-tw committed Jul 24, 2024
1 parent ff0bb80 commit e8b4534
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions examples/typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorworks/spstypescriptexample",
"version": "v1.0.0-rc.2",
"version": "1.0.0-rc.3",
"description": "The typescript example for consuming the Scalable Pixel Streaming Frontend",
"main": "./src/index.ts",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions examples/typescript/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ document.body.onload = function () {
{
// Replace with your custom signalling url if you need to.
// Otherwise SPS will use ws|wss://window.location.host/signalling/window.location.pathname
let YOUR_CUSTOM_SIGNALLING_URL_HERE : string = ""; // <-- replace here
let YOUR_CUSTOM_SIGNALLING_URL_HERE: string = ""; // <-- replace here

// Check the ?ss= url parameter for a custom signalling url.
const urlParams = new URLSearchParams(window.location.search);
Expand All @@ -51,8 +51,8 @@ document.body.onload = function () {

// Override the onConfig so we can determine if we need to send the WebRTC offer based on what is sent from the signalling server
stream.signallingProtocol.removeAllListeners("config");
stream.signallingProtocol.addListener("config", (config : MessageExtendedConfig) => {
if(config.frontendToSendOffer) {
stream.signallingProtocol.addListener("config", (config: MessageExtendedConfig) => {
if (config.frontendToSendOffer) {
stream.config.setFlagEnabled(Flags.BrowserSendOffer, config.frontendToSendOffer);
}
stream.handleOnConfig(config);
Expand Down Expand Up @@ -84,4 +84,4 @@ document.body.onload = function () {
};
const spsApplication: SPSApplication = new SPSApplication(uiOptions);
document.body.appendChild(spsApplication.rootElement);
}
}
4 changes: 2 additions & 2 deletions library/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tensorworks/libspsfrontend",
"version": "0.4.1",
"version": "1.0.0-rc.3",
"description": "The Scalable Pixel Streaming Frontend Library consuming Epic Games' Pixel Streaming Frontend",
"main": "dist/libspsfrontend.min.js",
"module": "dist/libspsfrontend.esm.js",
Expand Down

0 comments on commit e8b4534

Please sign in to comment.