mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-21 00:28:08 +08:00
isRTCParticipantAvailable => isLiveKitParticipantAvailable
This commit is contained in:
parent
b0e0e0ed6b
commit
a1083f3284
@ -86,8 +86,8 @@ const UserMediaTile = forwardRef<HTMLDivElement, UserMediaTileProps>(
|
|||||||
const videoEnabled = useObservableEagerState(vm.videoEnabled);
|
const videoEnabled = useObservableEagerState(vm.videoEnabled);
|
||||||
const speaking = useObservableEagerState(vm.speaking);
|
const speaking = useObservableEagerState(vm.speaking);
|
||||||
const cropVideo = useObservableEagerState(vm.cropVideo);
|
const cropVideo = useObservableEagerState(vm.cropVideo);
|
||||||
const isRTCParticipantAvailable = useObservableEagerState(
|
const isLiveKitParticipantAvailable = useObservableEagerState(
|
||||||
vm.isRTCParticipantAvailable,
|
vm.isLiveKitParticipantAvailable,
|
||||||
);
|
);
|
||||||
const onSelectFitContain = useCallback(
|
const onSelectFitContain = useCallback(
|
||||||
(e: Event) => {
|
(e: Event) => {
|
||||||
@ -144,7 +144,9 @@ const UserMediaTile = forwardRef<HTMLDivElement, UserMediaTileProps>(
|
|||||||
}
|
}
|
||||||
displayName={
|
displayName={
|
||||||
displayName +
|
displayName +
|
||||||
(isRTCParticipantAvailable ? "" : " missing Livekit Participant...")
|
(isLiveKitParticipantAvailable
|
||||||
|
? ""
|
||||||
|
: " missing Livekit Participant...")
|
||||||
}
|
}
|
||||||
primaryButton={
|
primaryButton={
|
||||||
<Menu
|
<Menu
|
||||||
@ -261,7 +263,7 @@ const RemoteUserMediaTile = forwardRef<
|
|||||||
mirror={false}
|
mirror={false}
|
||||||
menuStart={
|
menuStart={
|
||||||
<>
|
<>
|
||||||
{/* {isRTCParticipantAvailable
|
{/* {isLiveKitParticipantAvailable
|
||||||
? "is available"
|
? "is available"
|
||||||
: "Loading RTC participant"} */}
|
: "Loading RTC participant"} */}
|
||||||
<ToggleMenuItem
|
<ToggleMenuItem
|
||||||
|
Loading…
Reference in New Issue
Block a user