mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Eliminate @livekit/protocol
This commit is contained in:
@@ -47,7 +47,6 @@
|
|||||||
"@formatjs/intl-segmenter": "^11.7.3",
|
"@formatjs/intl-segmenter": "^11.7.3",
|
||||||
"@livekit/components-core": "^0.12.0",
|
"@livekit/components-core": "^0.12.0",
|
||||||
"@livekit/components-react": "^2.0.0",
|
"@livekit/components-react": "^2.0.0",
|
||||||
"@livekit/protocol": "^1.42.2",
|
|
||||||
"@livekit/track-processors": "^0.7.1",
|
"@livekit/track-processors": "^0.7.1",
|
||||||
"@mediapipe/tasks-vision": "^0.10.18",
|
"@mediapipe/tasks-vision": "^0.10.18",
|
||||||
"@playwright/test": "^1.60.0",
|
"@playwright/test": "^1.60.0",
|
||||||
|
|||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@@ -41,9 +41,6 @@ importers:
|
|||||||
'@livekit/components-react':
|
'@livekit/components-react':
|
||||||
specifier: ^2.0.0
|
specifier: ^2.0.0
|
||||||
version: 2.9.21(livekit-client@2.19.2(@types/dom-mediacapture-record@1.0.22))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tslib@2.8.1)
|
version: 2.9.21(livekit-client@2.19.2(@types/dom-mediacapture-record@1.0.22))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tslib@2.8.1)
|
||||||
'@livekit/protocol':
|
|
||||||
specifier: ^1.42.2
|
|
||||||
version: 1.48.0
|
|
||||||
'@livekit/track-processors':
|
'@livekit/track-processors':
|
||||||
specifier: ^0.7.1
|
specifier: ^0.7.1
|
||||||
version: 0.7.2(@types/dom-mediacapture-transform@0.1.11)(livekit-client@2.19.2(@types/dom-mediacapture-record@1.0.22))
|
version: 0.7.2(@types/dom-mediacapture-transform@0.1.11)(livekit-client@2.19.2(@types/dom-mediacapture-record@1.0.22))
|
||||||
@@ -1177,9 +1174,6 @@ packages:
|
|||||||
'@livekit/protocol@1.45.8':
|
'@livekit/protocol@1.45.8':
|
||||||
resolution: {integrity: sha512-Q+l57E7w/xxOBFVWzdX5rkAZO7ffyF+rlDzNUYq2SU114+5aTyCq+PK4unaEVDNd4952Af7wteKr3sOgasGuaA==}
|
resolution: {integrity: sha512-Q+l57E7w/xxOBFVWzdX5rkAZO7ffyF+rlDzNUYq2SU114+5aTyCq+PK4unaEVDNd4952Af7wteKr3sOgasGuaA==}
|
||||||
|
|
||||||
'@livekit/protocol@1.48.0':
|
|
||||||
resolution: {integrity: sha512-fYHYgltH6YavAsokl3qsHLkBdQeKCl4UORVTub5crS3t8JtKFZ0uinHDFQ+XXdNKS6Ub9gcOjV+UHcDiqnWXoQ==}
|
|
||||||
|
|
||||||
'@livekit/track-processors@0.7.2':
|
'@livekit/track-processors@0.7.2':
|
||||||
resolution: {integrity: sha512-lzARBKTbBwqycdR/SwTu6//N0l20BzfDd7grxCXl07676SwRApNtZAK1GJjL1m3dCM3KBqH1aVxjMpNcbOw5uQ==}
|
resolution: {integrity: sha512-lzARBKTbBwqycdR/SwTu6//N0l20BzfDd7grxCXl07676SwRApNtZAK1GJjL1m3dCM3KBqH1aVxjMpNcbOw5uQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -7167,10 +7161,6 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@bufbuild/protobuf': 1.10.1
|
'@bufbuild/protobuf': 1.10.1
|
||||||
|
|
||||||
'@livekit/protocol@1.48.0':
|
|
||||||
dependencies:
|
|
||||||
'@bufbuild/protobuf': 1.10.1
|
|
||||||
|
|
||||||
'@livekit/track-processors@0.7.2(@types/dom-mediacapture-transform@0.1.11)(livekit-client@2.19.2(@types/dom-mediacapture-record@1.0.22))':
|
'@livekit/track-processors@0.7.2(@types/dom-mediacapture-transform@0.1.11)(livekit-client@2.19.2(@types/dom-mediacapture-record@1.0.22))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@mediapipe/tasks-vision': 0.10.35
|
'@mediapipe/tasks-vision': 0.10.35
|
||||||
|
|||||||
@@ -13,8 +13,7 @@ import {
|
|||||||
type TrackReference,
|
type TrackReference,
|
||||||
type TrackReferencePlaceholder,
|
type TrackReferencePlaceholder,
|
||||||
} from "@livekit/components-core";
|
} from "@livekit/components-core";
|
||||||
import { LocalTrackPublication, Track } from "livekit-client";
|
import { type LocalTrackPublication, Track } from "livekit-client";
|
||||||
import { TrackInfo } from "@livekit/protocol";
|
|
||||||
import { type ComponentProps } from "react";
|
import { type ComponentProps } from "react";
|
||||||
|
|
||||||
import { MediaView } from "./MediaView";
|
import { MediaView } from "./MediaView";
|
||||||
@@ -28,10 +27,7 @@ describe("MediaView", () => {
|
|||||||
};
|
};
|
||||||
const trackReference: TrackReference = {
|
const trackReference: TrackReference = {
|
||||||
...trackReferencePlaceholder,
|
...trackReferencePlaceholder,
|
||||||
publication: new LocalTrackPublication(
|
publication: {} as Partial<LocalTrackPublication> as LocalTrackPublication,
|
||||||
Track.Kind.Video,
|
|
||||||
new TrackInfo({ sid: "id", name: "name" }),
|
|
||||||
),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const baseProps: ComponentProps<typeof MediaView> = {
|
const baseProps: ComponentProps<typeof MediaView> = {
|
||||||
|
|||||||
Reference in New Issue
Block a user