Merge pull request #1136 from robintown/call-backend

Note the call backend in rageshake and analytics data
This commit is contained in:
Robin 2023-06-23 14:58:52 -04:00 committed by GitHub
commit 948cc8f52f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,7 @@ Add SFU parameter in your local config `./public/config.yml`:
```
Run backend components:
```
yarn backend
```

View File

@ -70,6 +70,7 @@ export enum RegistrationType {
interface PlatformProperties {
appVersion: string;
matrixBackend: "embedded" | "jssdk";
callBackend: "livekit" | "full-mesh";
}
interface PosthogSettings {
@ -191,6 +192,7 @@ export class PosthogAnalytics {
return {
appVersion,
matrixBackend: widget ? "embedded" : "jssdk",
callBackend: "livekit",
};
}

View File

@ -101,6 +101,7 @@ export function useSubmitRageshake(): {
body.append("user_agent", userAgent);
body.append("installed_pwa", "false");
body.append("touch_input", touchInput);
body.append("call_backend", "livekit");
if (client) {
const userId = client.getUserId();