mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Merge pull request #1136 from robintown/call-backend
Note the call backend in rageshake and analytics data
This commit is contained in:
commit
948cc8f52f
@ -106,6 +106,7 @@ Add SFU parameter in your local config `./public/config.yml`:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Run backend components:
|
Run backend components:
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn backend
|
yarn backend
|
||||||
```
|
```
|
||||||
|
@ -70,6 +70,7 @@ export enum RegistrationType {
|
|||||||
interface PlatformProperties {
|
interface PlatformProperties {
|
||||||
appVersion: string;
|
appVersion: string;
|
||||||
matrixBackend: "embedded" | "jssdk";
|
matrixBackend: "embedded" | "jssdk";
|
||||||
|
callBackend: "livekit" | "full-mesh";
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PosthogSettings {
|
interface PosthogSettings {
|
||||||
@ -191,6 +192,7 @@ export class PosthogAnalytics {
|
|||||||
return {
|
return {
|
||||||
appVersion,
|
appVersion,
|
||||||
matrixBackend: widget ? "embedded" : "jssdk",
|
matrixBackend: widget ? "embedded" : "jssdk",
|
||||||
|
callBackend: "livekit",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -101,6 +101,7 @@ export function useSubmitRageshake(): {
|
|||||||
body.append("user_agent", userAgent);
|
body.append("user_agent", userAgent);
|
||||||
body.append("installed_pwa", "false");
|
body.append("installed_pwa", "false");
|
||||||
body.append("touch_input", touchInput);
|
body.append("touch_input", touchInput);
|
||||||
|
body.append("call_backend", "livekit");
|
||||||
|
|
||||||
if (client) {
|
if (client) {
|
||||||
const userId = client.getUserId();
|
const userId = client.getUserId();
|
||||||
|
Loading…
Reference in New Issue
Block a user